[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Removes leading and trailing whitespace or control characters.
Source position: lazutf8.pas line 170
function UTF8Trim( |
const s: string; |
Flags: TUTF8TrimFlags = [] |
):string; |
s |
|
String with values to trim. |
Flags |
|
Actions to perform in the function. |
Trimmed values for the string.
UTF8Trim removes spaces, tabs, line breaks and control characters at both the start and the end of the UTF-8-encoded value in s. Use Flags to delete at the start only or at the end only, or to to not delete line breaks. Control characters are the Unicode sets C0 and C1, and the left-to-right and right-to-left marks.
Version 3.2 | Generated 2024-02-25 | Home |