|
ION Java User's Guide: ION Java Class and Method Reference |
|
The getString() method returns the string value of the variable. If the value is not of type string, the scalar value is converted to a string.
public final String getString()
The method returns the string value of the variable.
None.
try {
String st = myVariable.getString();
}catch(IONIsAnArrayException e){
System.err.println("Variable is an array");
}
IDL Online Help (March 06, 2007)