Page 1 of 1

darn it! it's at the end of my tongue!

Posted: Sun Jan 17, 2010 5:15 am
by shadowslash
What command is it used to easily divide $QUERY_STRING from

formitem=value&formitem1=value1&formitem2=value2

to

formitem=value
formitem1=value1
formitem2=value2


It's already at the end of my tongue and I know i've read it somewhere I just couldn't get it out! Anybody please help??? Thank you a lot!

Re: darn it! it's at the end of my tongue!

Posted: Sun Jan 17, 2010 5:39 am
by sturgis
Is it split you're looking for?

Code: Select all

   put $QUERY_STRING into tTmp
   split tTmp by "&" and "="

Re: darn it! it's at the end of my tongue!

Posted: Sun Jan 17, 2010 5:40 am
by shadowslash
THANK YOU dude! I was always looking up sort and filter I forgot about split! Thank you thank you thank you!!!