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


11.9.3 Byte Data Intrinsic String Copy Functions

b_cast

data b_cast(data d, text s);

is d, set as s

b_fit

void b_fit(data d, text s);

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

b_paste

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

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

See Negative Indices.

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.

See Negative Indices.

b_suffix

void b_suffix(data d, text s);

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