[Overview][Constants][Types][Procedures and functions] |
Returns all characters in a string till a given character (not included).
Source position: strutils.pp line 145
function Copy2Symb( |
const S: String; |
Symb: Char |
):String; |
S |
|
String to return first characters from. |
Symb |
|
Symbol till which characters will be copied. Will not be included in the result. |
Characters from the string till the first occurence of the given character.
Copy2SymbDeldetermines the position of the first occurrence of Symbin the string Sand returns all characters up to this position. The Symbcharacter itself is not included in the result string. The string Sis left untouched. If Symbdoes not appear in S, then the whole of Sis returned.
None.
|
Returns all characters in a string till the first space character (not included). |
|
|
Deletes and returns all characters in a string till a given character (not included). |