Copies data from the source, starting at offset, and appends it to the string object. The first character in the source is always at an offset of zero.
offsetCat(string source, int offset);
Parameter |
Description |
---|---|
source |
Source of the data to copy. Can be another string object or a literal, enclosed in double-quotes. |
offset |
Location to begin copying. The first character in a string or literal is always at offset 0. |
Integer. Returns 1 for success, and 0 for failure.
Pointer to object |
Object |
---|---|
|
|
string mystr;
mystr = “abcdefg”;
mystr.offsetCat(“123456789”,5);
//mystr now contains “abcdefg6789”
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |