[Overview][Constants][Types][Procedures and functions] |
Copies a number of characters starting at the left of a string
Source position: strutils.pp line 69
function AnsiLeftStr( |
const AText: AnsiString; |
const ACount: Integer |
):AnsiString; |
AText |
|
String to copy characters from. |
ACount |
|
The number of characters to copy. |
Resulting string contains the first ACountcharacters
AnsiLeftStrreturns the ACountleftmost characters from AText. If ACountis larger than the length of AText, only as much characters as available in ATextwill be copied. If ACountis zero or negative, no characters will be copied. The characters are counted as characters, not as Bytes.
This function corresponds to the Visual Basic LeftStrfunction.
None.
|
Returns a number of characters copied from a given location in a string |
|
|
Copies a number of characters starting at the right of a string |
|
|
Copies Count characters starting at the left of a string. |
|
|
Copy a given number of characters, counting from the right of a string. |
|
|
Copies a number of characters starting at a given position in a string. |
|
|
Copies Count characters starting at the left of a string. |
|
|
Copy a given number of characters (bytes), counting from the right of a string. |
|
|
Copies a number of characters starting at a given position in a string. |