Software Customisation Reference Manual

Summary of Objects, Members and Methods : Object Type Details : STRING Object
Location of start of sub-string two within first string - zero returned if not found.
TRUE if strings are the same. STRING two may contain wildcard characters:
TRUE if strings are the same as above but multiple redefines the wildcard for any number of characters.
TRUE if strings are the same as above but multiple redefines the wildcard for any number of characters and single also redefines that for a single character.
Extract nth field from string where fields are delimited by space, tab or newline.
Extract nth field from string where fields are delimited by delim.
Replace all occurrences of sub-string two with sub-string three starting at the nth occurrence (or -nth occurrence from the end).
Replace count occurrences of sub-string two with sub-string three starting at the nth occurrence (or -nth occurrence from the end).
Split string into an ARRAY of STRINGS at delim (multiples of delim not compressed).
Returns a sub-string, nchars in length, starting at index.
Returns a sub-string from index to the end of the string
Reduce multiple occurrences of char to a single occurrence throughout the STRING (options = ‘M’).
Remove initial spaces (options =‘L’), trailing spaces (options = ‘R’) or both (options =’LR’).
The new construct if( !this.attrib.eqNoCase('Name') ) is more efficient than comparisons of the form if( !this.attrib.upcase() eq 'NAME' ) particularly when the check fails. It is also more reliable because it doesn't matter what is the case of the value checked against.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo