BBjString::getChars
Description
In BBj 7.0 and higher, this method copies characters from this string into the destination character array.
The first character to be copied is at index srcBegin; the last character to be copied is at index srcEnd-1 (thus the total number of characters to be copied is srcEnd-srcBegin). The characters are copied into the subarray of dst starting at index dstBegin and ending at index:
dstBegin + (srcEnd-srcBegin) - 1
Syntax
Return Value |
Method |
---|---|
void |
getChars(int srcBegin, int srcEnd, byte[] dst, int dstBegin) |
Parameters
Variable |
Description |
---|---|
srcBegin |
Index of the first character in the string to copy. |
srcEnd |
Index after the last character in the string to copy. |
dst |
The destination array. |
dstBegin |
The start offset in the destination array. |
Return Value
None.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.