The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack Stringl Procedures and Functions ReplaceStringInString | |||||||
See also: ReplaceCharInString, ReverseString, MakeStringHTMLCompatible, CapitalizeString, ConvertToTabs | |||||||
ReplaceStringInString |
|||||||
The function ReplaceStringInString replaces all occurrences of the substring OldStr in the string Instring by the new substring NewStr. The resulting string is returned as the function result. The search for OldStr is not case sensitive if IgnoreCase is set to a TRUE value. Note that short strings lose all characters beyond the 255th place if the resulting string grows beyond this limit. In order to avoid this situation long strings should be used (compiler directive {$H+}).
|