Removes part of a blob, starting at offset for a specified length. This method releases memory. If the offset plus the length is greater than the total blob size or if the length is -1, the snip() method removes data from the offset position to the end of the blob.
snip(int offset, int length);
Parameter |
Description |
---|---|
offset |
Position to start removing data. The first character in a blob is always at offset 0. |
length |
Number of characters to remove. |
Integer. Returns the new blob size, if successful, and the original blob size, if failed.
Pointer to object |
Object |
---|---|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |