Jump to content
Sign in to follow this  
tamir

troubles with regular expression

Recommended Posts

tamir

i want to check if there is "," at the start of a string.

i think i need to use the \# but i don't understand how to use it...

btw, u (the autoit team) thinking about making a function that replace the string by using regular expression?

Share this post


Link to post
Share on other sites
Wolvereness

i want to check if there is "," at the start of a string.

i think i need to use the \# but i don't understand how to use it...

If StringLeft($String, 1) = ',' Then; blah blah Stuff
EndIf

btw, u (the autoit team) thinking about making a function that replace the string by using regular expression?

What do you mean? An example please... Edited by Wolvereness

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Share this post


Link to post
Share on other sites
Jon

i want to check if there is "," at the start of a string.

i think i need to use the \# but i don't understand how to use it...

btw, u (the autoit team) thinking about making a function that replace the string by using regular expression?

Already on the list of things to do.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.