leftb() Function

Returns a specified number of bytes from the text, starting from the first byte.

Syntax

leftb ( text, [num_bytes] )

text: (Text) The text from which the substring will be taken.

num_bytes: (Number) The length in bytes of the subtext to extract.

Returns

Text

Examples

leftb("boston",3) returns bos

Open in Github Built: Wed, Aug 17, 2022 (01:05:05 PM)

On This Page

FEEDBACK