Thanks - but I cannot do it that way because I may have other form values
seperated by an "_" underscore eg: "address_1"
My form collection will be returning:
chk_69
chk_33
chk_32
etc
txt_12
etc
....I don't think that function will do the trick?
"Bob Barrows" <re*******@yahoo.com> wrote in message
news:#C**************@TK2MSFTNGP09.phx.gbl...
jason wrote: How do I seperate the "chk_" and "33" in the following string:
chk_33
Thanks Jason
dim ar, str
str = "chk_33"
ar=split(str,"_")
'ar(0) contains "chk"
'ar(1) contains "33"
HTH,
Bob Barrows