CaseMap.Fold.Apply Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Apply(ICharSequence) |
Case-folds a string. |
Apply(String) |
Case-folds a string. |
Apply(ICharSequence, Object, Edits) |
Case-folds a string and optionally records edits (see |
Apply(String, Object, Edits) |
Case-folds a string and optionally records edits (see |
Apply(ICharSequence)
Case-folds a string.
[Android.Runtime.Register("apply", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "", ApiSince=29)]
public string? Apply (Java.Lang.ICharSequence? src);
[<Android.Runtime.Register("apply", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "", ApiSince=29)>]
member this.Apply : Java.Lang.ICharSequence -> string
Parameters
- src
- ICharSequence
The original string.
Returns
the result string.
- Attributes
Remarks
Case-folds a string. The result may be longer or shorter than the original.
Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'T' in CaseFolding.txt.
Java documentation for android.icu.text.CaseMap.Fold.apply(java.lang.CharSequence)
.
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
Apply(String)
Case-folds a string.
public string? Apply (string? src);
member this.Apply : string -> string
Parameters
- src
- String
The original string.
Returns
the result string.
Remarks
Case-folds a string. The result may be longer or shorter than the original.
Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'T' in CaseFolding.txt.
Java documentation for android.icu.text.CaseMap.Fold.apply(java.lang.CharSequence)
.
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
Apply(ICharSequence, Object, Edits)
Case-folds a string and optionally records edits (see #omitUnchangedText
).
[Android.Runtime.Register("apply", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;Landroid/icu/text/Edits;)Ljava/lang/Appendable;", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })]
public Java.Lang.Object? Apply (Java.Lang.ICharSequence? src, Java.Lang.Object? dest, Android.Icu.Text.Edits? edits);
[<Android.Runtime.Register("apply", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;Landroid/icu/text/Edits;)Ljava/lang/Appendable;", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })>]
member this.Apply : Java.Lang.ICharSequence * Java.Lang.Object * Android.Icu.Text.Edits -> Java.Lang.Object
Parameters
- src
- ICharSequence
The original string.
- dest
- Object
A buffer for the result string. Must not be null.
- edits
- Edits
Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.
Returns
dest with the result string (or only changes) appended.
- Attributes
Remarks
Case-folds a string and optionally records edits (see #omitUnchangedText
). The result may be longer or shorter than the original.
Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'T' in CaseFolding.txt.
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
Apply(String, Object, Edits)
Case-folds a string and optionally records edits (see #omitUnchangedText
).
public Java.Lang.Object? Apply (string? src, Java.Lang.Object? dest, Android.Icu.Text.Edits? edits);
member this.Apply : string * Java.Lang.Object * Android.Icu.Text.Edits -> Java.Lang.Object
Parameters
- src
- String
The original string.
- dest
- Object
A buffer for the result string. Must not be null.
- edits
- Edits
Records edits for index mapping, working with styled text, and getting only changes (if any). This function calls edits.reset() first. edits can be null.
Returns
dest with the result string (or only changes) appended.
Remarks
Case-folds a string and optionally records edits (see #omitUnchangedText
). The result may be longer or shorter than the original.
Case-folding is locale-independent and not context-sensitive, but there is an option for whether to include or exclude mappings for dotted I and dotless i that are marked with 'T' in CaseFolding.txt.
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.