|
ToyBear Beginner
Joined: 04 Sep 2003 Posts: 25 Location: Singapore
|
Posted: Thu Sep 18, 2003 5:39 am
matching variable with wildcard |
the problem i have is manor pie and token comes with players name like 'TOKEN ABC','TOKEN XYZ','MANOR PIE 123' and 'MANOR PIE 789'. So it is populating my database with many duplicates.
#if ( @Name = Manor Pie * ) ( @Name = Manor Pie )
#if ( @Name = Token * ) ( @Name = Manor Pie )
i tried the above and it doesn't seem to work. in replacing duplicate names.
Thanks |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 18, 2003 7:50 am |
#IF (%begins( @Name, Manor Pie)) {Name = Manor Pie}
|
|
|
|
ToyBear Beginner
Joined: 04 Sep 2003 Posts: 25 Location: Singapore
|
Posted: Thu Sep 18, 2003 12:26 pm |
ooh that worked, now i got a list of items i need to be excluded in my database..
manor pie
manorpie
trivia token
how can i create a list? |
|
|
|
|
|