|
Previous Top Next |
Prototype: | (String pFieldName, <*String pPrefix>),String |
pFieldName | The label of the field/column to split |
pPrefix | Optional string parameter to receive the prefix of the field/column label |
Returns | The field/column name without prefix |
This method takes a field/column label and splits it up into the field/column name and the prefix. If the pPrefix parameter is not omitted it is assigned to the prefix of the field/column label.
Example:
ITS ITStringClass
Fn String(20)
Pf String(5)
Code
Fn = 'MYF:SysID'
Fn = ITS.SplitFieldName(Fn,Pf)
At this point Fn will contain 'MYF' and Fn will contain 'SysID'
See also: