strLeft

Extracts the leftmost characters from a string. Takes str (string to extract from), count (number of characters). Returns the first count characters from the beginning of the string.

String

Parameters & Returns

Parameters

str String
count Int

Returns

String

Quick Summary

Extracts the leftmost characters from a string. Takes str (string to extract from), count (number of characters). Returns the first count characters from the beginning of the string.

Technical Exegesis...

Returns the first count characters from the beginning of the string. If count is greater than or equal to the string length, returns the entire string.

Returns an empty string if count is 0 or negative. Useful for prefix extraction, truncation, or parsing fixed-width data.

Example

Example.bam
; No example implemented yet