 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Tue Oct 15, 2002 2:46 am
Name variable, NEW! |
I know how to use (%W) to capure a person name as a variable, but how would I go about in tweaking it to allow dash character in the name? .. Like Al-Amaz .. or maybe A'Skkz
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Oct 15, 2002 4:01 am |
%x match any amount of non-white space
See the helpfile Pattern Matching for a complete list of wildcards.
LightBulb
Senior Member |
|
|
 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Tue Oct 15, 2002 8:34 am |
I read the helpfile, but it still doesn't show me how to incorporate %x to %w, how do I do it so that it will have the regular one word and those space words?
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Oct 15, 2002 12:51 pm |
Just use %x instead of %w.
Kjata |
|
|
 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Wed Oct 16, 2002 4:52 pm |
but then do I still use %1 to call on the variable? I mean some people have pretitle like Sir Name, Duke Name, and you can't use the pretitle to call on them, that is why I use %w, umm, am I making sense? .. hehe
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Oct 16, 2002 5:11 pm |
Yes. Use %1 to call the variable.
No. It won't match the pretitle.
Yes. You are making sense. So are we. Believe it or not, we actually understand what you are trying to do and know the answer. Use %x.
LightBulb
Senior Member |
|
|
 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Wed Oct 16, 2002 10:43 pm |
hehe, thanks
|
|
|
 |
|
|