BBjString::offsetByCodePoints
Description
In BBj 7.0 and higher, this method returns the index within this String that is offset from the given index by codePointOffset code points. Unpaired surrogates within the text range given by index and codePointOffset count as one code point each.
Syntax
Return Value |
Method |
---|---|
int |
offsetByCodePoints(int index, int codePointOffset) |
Parameters
Variable |
Description |
---|---|
index |
The index to be offset. |
codePointOffest |
The offset in code points. |
Return Value
Returns the index within this String.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.