[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Adds the specified number of UTF-8 codepoints to a string.
Source position: lazutf8.pas line 135
function UTF8AddChar( |
AUtf8Char: string; |
const S: string; |
N: Integer |
):string; |
AUtf8Char |
|
Codepoint to prepend to the string value. |
S |
|
Original values for the string. |
N |
|
Number of codepoints to prepend to the string. |
Updated value for the string.
UTF8AddChar is a String function used to add the specified number of UTF-8 codepoints to a string. AUtf8Char is the UTF-8-encoded codepoint to add to string value in S. N indicates the number of times the codepoint should be added to the string.
No actions are performed in the function when AUtf8Char is an empty string (''), or contains a malformed UTF-8 codepoint.
Remark: | Values added to the string in S are inserted at the beginning of the string (prepended). |
Version 3.2 | Generated 2024-02-25 | Home |