>How can I get the first 4 characters and the last 4 characters of
>the expression below
>
>
> "ADBACD CCCADS DCFGGT"
>
> ps. the number of letter can vary
>
>
> TIA
>
> Moise
if you have this string in a variable called mystring
1st 4
substr(alltrim(mystring),1,4)
last 4
substr(alltrim(mystring),len(alltrim(mystring))-3)
Hth
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com