The fmt() function is identical to performing a FlashBASIC or BASIC mask.
fmt(str.exp, mask.exp)
$options statement, BASIC functions, Masking, Statements and functions