Share via


StringBuilder.CodePointCount(Int32, Int32) Method

Definition

Calculates the number of Unicode code points between start and end.

[Android.Runtime.Register("codePointCount", "(II)I", "")]
public override int CodePointCount (int beginIndex, int endIndex);
[<Android.Runtime.Register("codePointCount", "(II)I", "")>]
override this.CodePointCount : int * int -> int

Parameters

beginIndex
Int32
endIndex
Int32

Returns

Attributes

Exceptions

if start is negative or greater than end or end is greater than Length().

Remarks

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

See also

  • Character
  • <xref:Java.Lang.Character.CodePointCount(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>