>Debugger shows all 3 values as expected, so I am sure the content was received. As for the length, I want the substring from lnStartPos to .nCodeStringPadding The former is 2 and the latter 42. The field has 44 characters in it. Am I wrong in thinking that if the third parameter (nCodeStringPadding) exceeds the length of the content it will return just what there is? It wouldn't return "", would it?
>
>Thanks for the help, everyone.
No, you are right that substr() will return the smaller length string. I'm out of ideas at this point. Sorry.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao