| [Overview][Types][Procedures and functions][Variables][Index] |
Removes space at start and end
Source position: lazutf8.pas line 170
function UTF8Trim( |
const s: string; |
Flags: TUTF8TrimFlags = [] |
):string; |
It removes spaces, tabs, line breaks and control characters at start and end. Use Flags to only delete at start or only at end 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.
| lazarus-ccr.sourceforge.net |