Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Create rules parse string location
Jason B
Aug 19 2010 2:19 PM
1.8k
Reply
Okay, Im running into a mind bender (at least for me)
Trying to take a string, ie.
{variable1}-{variable2}-{variable3}
and parse a file based on that rule.. ie. Var3-Var1-Var2
then turn it into name/value pairs so I can properly assign them...
var1 = var1foundinstring
var2 = var2foundinstring
var3 = var3foundinstring
Let me know if im not being specific enough, or if you need more information. Im just tryin to figure out best way of doing it, ie. A case, or array etc.. The delimiter will always be the same (at least for now)
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Advanced string searching
split a char from a string