TLocaleOptions¶
What locale to use in string operations.
Declaration¶
Source position: sysstrh.inc line 24
type
TLocaleOptions = (loInvariantLocale,loUserLocale)Values¶
| Value | Description |
|---|---|
| loInvariantLocale | Use system locale. |
| loUserLocale | Use user locale. |
Description¶
TLocaleOptions is used to indicate what locale should be used for some string operations such as UpperCase, LowerCase, CompareText, SameText. The following values are possible:
- loInvariantLocale
- Use system locale.
- loUserLocale
- Use user locale.
For consistent behaviour independent of the user or service applications use loInvariantLocale.
See also¶
| Name | Description |
|---|---|
| UpperCase | Return an uppercase version of a string. |
| LowerCase | Return a lowercase version of a string. |
| CompareText | Compare 2 ansistrings case insensitive. |
| SameText | Checks whether 2 strings are the same (case insensitive). |