Inserts the contents of a blob or string into the blob, starting at the position specified in the offset parameter. The first blob character is always at offset 0.
paste(int offset, {blob | string} *source);
Parameter |
Description |
---|---|
offset |
Position to start inserting the data. The first character in a blob is at offset 0. |
source |
Address of the blob or string from which to copy the data. |
Integer. Returns the number of characters of data pasted into the blob.
blob myblob;
string new_stuff;
myblob = “abcdefg”;
new_stuff = “123456”;
myblob.paste(4, &new_stuff);
Pointer to object |
Object |
---|---|
|
|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |