Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 0 come from the library's tests; 38 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzStringLocale("fr_FR"). 2 methods have none yet. Examples run on 2026-10-03 20:23 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence)initno extension
Content
(no comment in the source: the name reads as a sentence)contentno extension
NumberOfChars
(no comment in the source: the name reads as a sentence)number of charscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.NumberOfChars()
#--> 5
composed from the signature, run for this pageno extension
IsEmpty
(no comment in the source: the name reads as a sentence)is emptycomposed example
o1 = new stzStringLocale("fr_FR")
? o1.IsEmpty()
#--> 0
composed from the signature, run for this pageno extension
LowercasedInLocale
locale case conversioncomposed example
o1 = new stzStringLocale("fr_FR")
? o1.LowercasedInLocale("an")
#--> fr_fr
composed from the signature, run for this pageno extension
UppercasedInLocale
locale case conversioncomposed example
o1 = new stzStringLocale("fr_FR")
? o1.UppercasedInLocale("an")
#--> FR_FR
composed from the signature, run for this pageno extension
DetectScript
(no comment in the source: the name reads as a sentence)detect scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.DetectScript()
#--> 1
composed from the signature, run for this pageno extension
ScriptName
(no comment in the source: the name reads as a sentence)script namealso written: Scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.ScriptName()
#--> Latin
composed from the signature, run for this pageno extension
ScriptCount
Two methods answering "how many scripts" with different numbers is the kind of split a caller only discovers by accident, so they now match.composed example
o1 = new stzStringLocale("fr_FR")
? o1.ScriptCount()
#--> 2
composed from the signature, run for this pageno extension
ScriptCountExcludingCommon
Scripts EXCLUDING common -- the count of real writing systems.composed example
o1 = new stzStringLocale("fr_FR")
? o1.ScriptCountExcludingCommon()
#--> 1
composed from the signature, run for this pageno extension
IsMixedScript
"Mixed script" means mixing writing systems -- Latin with Cyrillic, the shape of a homograph attack. Digits and spaces are not a second writing system, so counting common here would make "hello 123", and every invoice line ever written, mixed-script.composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsMixedScript()
#--> 0
composed from the signature, run for this pageno extension
IsLatinScript
(no comment in the source: the name reads as a sentence)is latin scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsLatinScript()
#--> 1
composed from the signature, run for this pageno extension
IsArabicScript
(no comment in the source: the name reads as a sentence)is arabic scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsArabicScript()
#--> 0
composed from the signature, run for this pageno extension
IsHebrewScript
(no comment in the source: the name reads as a sentence)is hebrew scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsHebrewScript()
#--> 0
composed from the signature, run for this pageno extension
IsCyrillicScript
(no comment in the source: the name reads as a sentence)is cyrillic scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsCyrillicScript()
#--> 0
composed from the signature, run for this pageno extension
IsGreekScript
(no comment in the source: the name reads as a sentence)is greek scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsGreekScript()
#--> 0
composed from the signature, run for this pageno extension
IsCJKScript
(no comment in the source: the name reads as a sentence)is cjk scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsCJKScript()
#--> 0
composed from the signature, run for this pageno extension
IsDevanagariScript
(no comment in the source: the name reads as a sentence)is devanagari scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsDevanagariScript()
#--> 0
composed from the signature, run for this pageno extension
IsThaiScript
(no comment in the source: the name reads as a sentence)is thai scriptin the section script detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsThaiScript()
#--> 0
composed from the signature, run for this pageno extension
DetectDirection
(no comment in the source: the name reads as a sentence)detect directionin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.DetectDirection()
#--> 0
composed from the signature, run for this pageno extension
DirectionName
(no comment in the source: the name reads as a sentence)direction namealso written: Directionin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.DirectionName()
#--> LTR
composed from the signature, run for this pageno extension
IsRightToLeft
(no comment in the source: the name reads as a sentence)is right to leftalso written: IsRTLin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsRightToLeft()
#--> 0
composed from the signature, run for this pageno extension
IsLeftToRight
(no comment in the source: the name reads as a sentence)is left to rightalso written: IsLTRin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsLeftToRight()
#--> 1
composed from the signature, run for this pageno extension
HasRTL
(no comment in the source: the name reads as a sentence)has rtlin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.HasRTL()
#--> 0
composed from the signature, run for this pageno extension
IsBidiMixed
(no comment in the source: the name reads as a sentence)is bidi mixedin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsBidiMixed()
#--> 0
composed from the signature, run for this pageno extension
IsBidiNeutral
(no comment in the source: the name reads as a sentence)is bidi neutralin the section direction detection (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.IsBidiNeutral()
#--> 0
composed from the signature, run for this pageno extension
LocaleCompare
locale comparison (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.LocaleCompare("an")
#--> 1
composed from the signature, run for this pageno extension
LocaleEquals
locale comparison (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.LocaleEquals("an")
#--> 0
composed from the signature, run for this pageno extension
LocaleLessThan
locale comparison (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.LocaleLessThan("an")
#--> 0
composed from the signature, run for this pageno extension
LocaleGreaterThan
locale comparison (engine-backed)composed example
o1 = new stzStringLocale("fr_FR")
? o1.LocaleGreaterThan("an")
#--> 1
composed from the signature, run for this pageno extension
ContainsLatinLetters
(no comment in the source: the name reads as a sentence)contains latin lettersin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsLatinLetters()
#--> 1
composed from the signature, run for this pageno extension
ContainsArabicLetters
(no comment in the source: the name reads as a sentence)contains arabic lettersin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsArabicLetters()
#--> 0
composed from the signature, run for this pageno extension
ContainsDigits
(no comment in the source: the name reads as a sentence)contains digitsin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsDigits()
#--> 0
composed from the signature, run for this pageno extension
ContainsOnlyDigits
(no comment in the source: the name reads as a sentence)contains only digitsin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsOnlyDigits()
#--> 0
composed from the signature, run for this pageno extension
ContainsOnlyLetters
(no comment in the source: the name reads as a sentence)contains only lettersin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsOnlyLetters()
#--> 0
composed from the signature, run for this pageno extension
ContainsOnlyLatinLetters
(no comment in the source: the name reads as a sentence)contains only latin lettersin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsOnlyLatinLetters()
#--> 0
composed from the signature, run for this pageno extension
IsAscii
(no comment in the source: the name reads as a sentence)is asciiin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.IsAscii()
#--> 1
composed from the signature, run for this pageno extension
ContainsPunctuation
(no comment in the source: the name reads as a sentence)contains punctuationin the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsPunctuation()
#--> 1
composed from the signature, run for this pageno extension
ContainsWhitespace
(no comment in the source: the name reads as a sentence)contains whitespacein the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsWhitespace()
#--> 0
composed from the signature, run for this pageno extension
ContainsOnlyWhitespace
(no comment in the source: the name reads as a sentence)contains only whitespacein the section character class testscomposed example
o1 = new stzStringLocale("fr_FR")
? o1.ContainsOnlyWhitespace()
#--> 0
composed from the signature, run for this pageno extension