SubStr is a Sub-String function, it returns part of the string specified by the first argument, starting in the position specified by the second, returning the number of chars specified by the third.

if $Val = 'This is a string', then SubStr($Val, 3, 2) would return "is" from "This" - the third and fourth characters.

Glenn

PS - Bergen County / Hackensack area here..
_________________________
Actually I am a Rocket Scientist! \:D