View Single Post
  #1  
Old 06-28-2006, 10:48 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
A lil help w/ Substrings

Well.. heres whats up:
makevar("test." @ tokens[0]) = "hi";
tokens[0] contains of test.a=B

so I would need it to look like this:
makevar("test.a") = "B"; (test.a = B)

Normally I could just substirng it, but the tokens could always change. How can I detect where the = is and get the content before and after the sign?

Thanks.
Reply With Quote