
5.5.14.9. GetField Function
GetField Function
Returns the string field.
Syntax
string GetField(stringWithFields, fieldnumber)
Parameters
Parameter Type Description
stringWithFields string The string containing multiple data fields. The field is
a substring that does not contain spaces, tabs or
commas.
fieldnumber double The field number.
Returns
Returns the field with the specified number as a string. The field is a substring that does not contain
spaces, tabs or commas. For example,
GetField("One two 3 4", 3) returns "3".
Comments
None
Usage
NexScript
secondField = GetField("Neuro04a Neuron05b", 2)
% secondField now equals to "Neuron05b"
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 313
Comentarios a estos manuales