$substr(string, offset[, length])
The substr function returns part of the string, specifically cutting off the first offset
characters, and optionally limiting the length to length
Example:
$substr() example
# Create a player command that demonstrates the $substr function
on pcmd_showme cmd /say_stat * $substr(StickHappyGlee,5,5);