strRight

Extracts the rightmost characters from a string. Takes str (string to extract from), count (number of characters). Returns the last count characters from the end of the string.

String

Parameters & Returns

Parameters

str String
count Int

Returns

String

Quick Summary

Extracts the rightmost characters from a string. Takes str (string to extract from), count (number of characters). Returns the last count characters from the end of the string.

Technical Exegesis...

Returns the last count characters from the end 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 suffix extraction, file extensions, or parsing data from the end.

Example

Example.bam
; No example implemented yet