Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TLocaleOptions

What locale to use in string operations

Declaration

Source position: sysstrh.inc line 23

type TLocaleOptions = (

  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

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)


Documentation generated on: Sep 29 2022