Jump to content

Escape Switch?


Recommended Posts

Put Single Quotes round the Double

Msgbox(4096, "Favourite Food", ' "Pizza" ')

HardCopy

Edited by HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Link to comment
Share on other sites

Thanks. It worked, somewhat. Maybe someone can tell me what is wrong here:

$text = '<AREA SHAPE="poly" COORDS="60" HREF="java script:;" ALT="North" onclick="do(9); return false;">'

$tempstring = 'ALT="North"'

$string_index = StringInStr($text, tempstring,1,0)

Anything I put for $tempstring returns a 0 for string_index. I basically want to get the index of 'ALT="North"'

Thanks in advance.

Edited by patlim4152
Link to comment
Share on other sites

  • Developers

Thanks. It worked, somewhat. Maybe someone can tell me what is wrong here:

$text = '<AREA SHAPE="poly" COORDS="60" HREF="java script:;" ALT="North" onclick="do(9); return false;">'

$tempstring = 'ALT="North"'

$string_index = StringInStr($text, tempstring,1,0)

Anything I put for $tempstring returns a 0 for string_index. I basically want to get the index of 'ALT="North"'

Thanks in advance.

$text = '<AREA SHAPE="poly" COORDS="60" HREF="java script:;" ALT="North" onclick="do(9); return false;">'
$tempstring = 'ALT="North"'
$string_index = StringInStr($text, $tempstring,1)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...