if say var = I have to google something
It contains spaces where
var = NoSpaces
contains NO spaces.
I need this to make my searcher recognize I am making a Google Search instead of another type of search.
How can I check if a variable has spaces? Topic is solved
- JoeWinograd
- Posts: 2203
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: How can I check if a variable has spaces? Topic is solved
The doc explains it well:
IfInString
For example:
Regards, Joe
IfInString
For example:
Code: Select all
IfInString,var,%A_Space%
{
code here for var containing at least one space
}
Else
{
code here for var containing no spaces
}
- JoeWinograd
- Posts: 2203
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: How can I check if a variable has spaces?
You're welcome — good luck with the script!
Who is online
Users browsing this forum: haomingchen1998 and 156 guests