| View previous topic :: View next topic |
| Author |
Message |
WhiteCloud
Joined: 19 Jun 2004 Posts: 68
|
Posted: Sun Jun 27, 2004 6:17 pm Post subject: wildcards for IfInString and StringGetPos |
|
|
So you can search through a string even if you don't know the exact text you'll need to search for.
How about these?
? Matches a single character.
* Matches one or more characters.
# Matches any digit.
[range] Matches if the character in question is within the specified range.
[!range] Matches if the character in question is not within the specified range. _________________ AHK = Hella fun |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sun Jun 27, 2004 8:31 pm Post subject: |
|
|
| I'll add to the list "Support optional regular expressions in StringGetPos." I suspect regular expressions would do all of the above, and more. |
|
| Back to top |
|
 |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Mon Jun 28, 2004 7:58 am Post subject: |
|
|
Maybe someone (beside myself) would be happy to get something similar for IfExist .
While a basic wildcarding like
IfExist, ...\*.txt works fine, a multiple wildcarding like
IfExist, ...\*.txt; *.csv; *.doc (DOS style) seems not to be possible.
Thx 4 your support.  |
|
| Back to top |
|
 |
|