Next: , Previous: , Up: The Byte Data Library   [Index]


13.9.3 Byte Data Intrinsic String Copy Functions

b_cast

data b_cast(data d, text s);

is d, set as s

b_fit

data b_fit(data d, text s);

is d, appends the s string to the d byte array (same as ‘bb_cast’(d, s))

b_patch

void b_patch(data d, integer p, text s);

copies the s string at the p position in the d byte array (negative position indications are interpreted with respect to the end of string). d is overwritten. d is extended as necessary.

bb_cast

data bb_cast(data d, text s);

is d, appends the s string to the d byte array

bu_cast

void bu_cast(data d, integer u, text s);

inserts the s string in the u position in the d byte array (negative position indications are interpreted with respect to the end of string)

See Negative Indices.