|
Previous Top Next |
Prototype: | (String pFieldName),String |
pFieldName | Name of field/column to split |
Returns | Prefix of the field |
This method uses the SplitFieldName method to split the prefix from the field name. It returns the prefix without the trailing colon. This can be very useful when parsing Clarion code or TXA/TXD code to extract field information.
Example:
ITS ITStringClass
Fn String(20)
Code
Fn = 'MYF:SysID'
Message('Prefix of ' & Fn & ' = ' & ITS.GetFieldPrefix(Fn))
See also: