www.icetips.com  Icetips Utilities Documentation 7/6/2014    

String Class:  CompareAndExtract

Previous  Top  Next  


Prototype: (String pOriginal, String pSearchFor),String

 

pOriginalOriginal string to compare
pSearchForString to search for

 

ReturnsReturns extracted string

 

This method can be used to extract string from another string. 

 

Example:

ITS  ITStringClass

Code

Message(ITS.CompareAndExtract('This or that','This or'))

 

This call would return ' that'

 

See also:

CompactString



Direct link to this page: http://www.icetips.com/manuals/utilities/compareandextract_stringclass.htm