Jump to content
Sign in to follow this  
ehdtkqorl123

Very simple string question

Recommended Posts

ehdtkqorl123

Thank you everyone for answering my questions.. I really appreciate :)

Here is the last question...

If I want to find " (quotation symbol) in $sText, how can I set the variable?

StringInStr($sText, ", 0, 2)

Of course this doesn't work.

StringInStr($sText, "\"", 0, 2)

This doesn't work too.

How can I deal with special characters like this?

Share this post


Link to post
Share on other sites
DW1

StringInStr($sText, '"', 0, 2)

<single quote>"<single quote>

-----------------or------------------

<double quote>'<double quote>

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  

×