Changeset 219 for trunk/Library/StringUtilsUnit.pas
- Timestamp:
- Jun 25, 2007, 8:47:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Library/StringUtilsUnit.pas
r198 r219 2 2 3 3 // NewView - a new OS/2 Help Viewer 4 // Copyright 2003-2006 Aaron Lawrence 4 5 // Copyright 2006-2007 Ronald Brill (rbri at rbri dot de) 5 6 // This software is released under the GNU Public License - see readme.txt … … 123 124 // Extract all fields in a String delimited by whitespace (blank or tab). 124 125 // use double quotes if you need blanks in the strings 125 Procedure StrExtractStringsQuoted(Var aResult: TStrings; const aReceiver: String 126 Procedure StrExtractStringsQuoted(Var aResult: TStrings; const aReceiver: String); 126 127 127 128 // returns the position of aPart in aString 128 129 // case insensitive 129 Function CaseInsensitivePos(const aPart: String; const aString: String ): longint;130 Function CaseInsensitivePos(const aPart: String; const aString: String) : longint; 130 131 131 132 // Finds the last position of aChar within aString. Returns zero if no match 132 Function LastPosOfChar(const aChar: char; const aString: String) : longint;133 Function LastPosOfChar(const aChar: char; const aString: String) : longint; 133 134 134 135 135 136 // Substitutes all occurences of given character with the replace char 136 Procedure SubstituteAllOccurencesOfChar(var aReceiver: String; const aSearchChar: Char; const aReplaceChar: Char 137 Procedure SubstituteAllOccurencesOfChar(var aReceiver: String; const aSearchChar: Char; const aReplaceChar: Char); 137 138 138 139 … … 746 747 747 748 748 Procedure StrExtractStringsQuoted(Var aResult: TStrings; const aReceiver: String 749 Procedure StrExtractStringsQuoted(Var aResult: TStrings; const aReceiver: String); 749 750 Var 750 751 tmpState : (WHITESPACE, INSIDE, START_QUOTE, INSIDE_QUOTED, INSIDE_QUOTED_START_QUOTE);
Note:
See TracChangeset
for help on using the changeset viewer.