Try digits?

SUBSTR(DIGITS(ohrecyy),1,4)

John




Return to Archive home page | Return to MIDRANGE.COM home page