UCharacter.OffsetByCodePoints 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
OffsetByCodePoints(ICharSequence, Int32, Int32) |
Equivalent to the |
OffsetByCodePoints(String, Int32, Int32) |
Equivalent to the |
OffsetByCodePoints(Char[], Int32, Int32, Int32, Int32) |
Equivalent to the
|
OffsetByCodePoints(ICharSequence, Int32, Int32)
Equivalent to the Character#offsetByCodePoints(CharSequence, int, int)
method, for convenience.
[Android.Runtime.Register("offsetByCodePoints", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)]
public static int OffsetByCodePoints (Java.Lang.ICharSequence? text, int index, int codePointOffset);
[<Android.Runtime.Register("offsetByCodePoints", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)>]
static member OffsetByCodePoints : Java.Lang.ICharSequence * int * int -> int
Parameters
- text
- ICharSequence
the characters to check
- index
- Int32
the index to adjust
- codePointOffset
- Int32
the number of code points by which to offset the index
Returns
the adjusted index
- Attributes
Remarks
Equivalent to the Character#offsetByCodePoints(CharSequence, int, int)
method, for convenience. Adjusts the char index by a code point offset.
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
OffsetByCodePoints(String, Int32, Int32)
Equivalent to the Character#offsetByCodePoints(CharSequence, int, int)
method, for convenience.
public static int OffsetByCodePoints (string? text, int index, int codePointOffset);
static member OffsetByCodePoints : string * int * int -> int
Parameters
- text
- String
the characters to check
- index
- Int32
the index to adjust
- codePointOffset
- Int32
the number of code points by which to offset the index
Returns
the adjusted index
Remarks
Equivalent to the Character#offsetByCodePoints(CharSequence, int, int)
method, for convenience. Adjusts the char index by a code point offset.
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
OffsetByCodePoints(Char[], Int32, Int32, Int32, Int32)
Equivalent to the
Character#offsetByCodePoints(char[], int, int, int, int)
method, for convenience.
[Android.Runtime.Register("offsetByCodePoints", "([CIIII)I", "", ApiSince=24)]
public static int OffsetByCodePoints (char[]? text, int start, int count, int index, int codePointOffset);
[<Android.Runtime.Register("offsetByCodePoints", "([CIIII)I", "", ApiSince=24)>]
static member OffsetByCodePoints : char[] * int * int * int * int -> int
Parameters
- text
- Char[]
the characters to check
- start
- Int32
the start of the range to check
- count
- Int32
the length of the range to check
- index
- Int32
the index to adjust
- codePointOffset
- Int32
the number of code points by which to offset the index
Returns
the adjusted index
- Attributes
Remarks
Equivalent to the Character#offsetByCodePoints(char[], int, int, int, int)
method, for convenience. Adjusts the char index by a code point offset.
Java documentation for android.icu.lang.UCharacter.offsetByCodePoints(char[], int, int, int, int)
.
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.