|
cfb Newbie
Joined: 26 Mar 2011 Posts: 9
|
Posted: Thu Apr 28, 2011 7:41 pm
Basic Variable Question |
Hey all,
I have a situation where I've captured several multi-word variables as part of a string (eg. tin dented box|long sharp spear) and I'm looking for a way to refer to a single word within each entry. Basically if possible, I'd want to point to the single word 'tin' or 'dented' or 'box' kinda similarly to the ability to use %1 when its part of the pattern. It seems like there should be an easy way to do this but I can't seem to find it!
Thanks so much! |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Thu Apr 28, 2011 8:17 pm |
Try the %word function.
|
|
|
|
cfb Newbie
Joined: 26 Mar 2011 Posts: 9
|
Posted: Thu Apr 28, 2011 8:23 pm |
Works perfectly! Thanks!
|
|
|
|
|
|