
Replace
ReplaceFirst (sourceString,
replaceString, findString)
Replaces the first occurrence of
findString found in sourceString with
replaceString. Returns the modified
sourceString.
ReplaceNext (sourceString,
replaceString, findString)
Replaces the occurrence of findString
found in sourceString on or after the
current search position with
replaceString. Returns the modified
sourceString.
ReplaceAll (sourceString,
replaceString, findString)
Replaces all occurrences of findString
found in sourceString with
replaceString. Returns the modified
sourceString.
Search/Replace Properties
SetPosition (characterNumber) Sets the integer character position in
the string from where the next find or
replace will start. Affects FindNext,
FindPrevious and ReplaceNext.
GetPosition ( ) Returns the integer character position
from which the next find or replace
will start. Affects FindNext,
FindPrevious and ReplaceNext.
SetCaseSensitivity (boolean) Determines whether the found string
must match the case of the search
string. (deprecated in D11)
Indexing
GetListOfWords (sourceString) Returns a list of character chunks
delimited by white space.
GetListOfLines (sourceString) Returns a list of lines delimited by
either CR only (Mac) or CR/LF (PC)
GetListOfItems (sourceString,
itemDelimiterASCIICode)
Returns a list of items delimited by the
itemDelimiter specified.
Online Help
21
Commenti su questo manuale