[Overview][Constants][Types][Procedures and functions] |
Returns all characters in a string till the first space character (not included).
Source position: strutils.pp line 147
function Copy2Space( |
const S: String |
):String; |
S |
|
String to return first characters from. |
Characters from Still the first space.
Copy2Spacedetermines the position of the first space in the string Sand returns all characters up to this position. The space character itself is not included in the result string. The string Sis left untouched. If there is no space in S, then the whole string Sis returned.
This function simply calls Copy2Symbwith the space (ASCII code 32) as the symbol argument.
None.
|
Returns all characters in a string till a given character (not included). |
|
|
Deletes and returns all characters in a string till the first space character (not included). |