BBjString::codePointCount
Description
In BBj 7.0 and higher, this method returns the number of Unicode code points in the specified text range of this String. The text range begins at the specified beginIndex and extends to the char at index endIndex - 1. Thus the length (in chars) of the text range is endIndex-beginIndex. Unpaired surrogates within the text range count as one code point each.
Syntax
Return Value |
Method |
---|---|
int |
codePointCount(int beginIndex, int endIndex) |
Parameters
Variable |
Description |
---|---|
beginIndex |
The index to the first char of the text range. |
endIndex |
The index after the last char of the text range. |
Return Value
Returns the number of Unicode code points in the specified text range.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.