Language

CaseMap.Title.AdjustToCased Method

Definition

Returns an instance that behaves like this one but adjusts each titlecasing BreakIterator index to the next cased character.

[Android.Runtime.Register("adjustToCased", "()Landroid/icu/text/CaseMap$Title;", "", ApiSince=29)]
public Android.Icu.Text.CaseMap.Title? AdjustToCased();
[<Android.Runtime.Register("adjustToCased", "()Landroid/icu/text/CaseMap$Title;", "", ApiSince=29)>]
member this.AdjustToCased : unit -> Android.Icu.Text.CaseMap.Title

Returns

an options object with this option.

Attributes

Remarks

Returns an instance that behaves like this one but adjusts each titlecasing BreakIterator index to the next cased character. (See the Unicode Standard, chapter 3, Default Case Conversion, R3 toTitlecase(X).) This used to be the default index adjustment in ICU. Since ICU 60, the default index adjustment is to the next character that is a letter, number, symbol, or private use code point. (Uncased modifier letters are skipped.) The difference in behavior is small for word titlecasing, but the new adjustment is much better for whole-string and sentence titlecasing: It yields "49ers" and "«丰(abc)»" instead of "49Ers" and "«丰(Abc)»". It is an error to specify multiple titlecasing adjustment options together.

Android reference for android.icu.text.CaseMap.Title.adjustToCased.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to