patlim4152 Posted April 13, 2006 Share Posted April 13, 2006 Been looking in the help files for the past 10mins, but was wondering if it was possible to output Msgbox(4096, "Favourite Food", ""Pizza"") I basically want to print the " instead of it ending the string. Thanks Link to comment Share on other sites More sharing options...
HardCopy Posted April 13, 2006 Share Posted April 13, 2006 (edited) Put Single Quotes round the Double Msgbox(4096, "Favourite Food", ' "Pizza" ') HardCopy Edited April 13, 2006 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 More sharing options...
patlim4152 Posted April 13, 2006 Author Share Posted April 13, 2006 (edited) 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 April 13, 2006 by patlim4152 Link to comment Share on other sites More sharing options...
Developers Jos Posted April 13, 2006 Developers Share Posted April 13, 2006 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 More sharing options...
patlim4152 Posted April 13, 2006 Author Share Posted April 13, 2006 lol, thanks. careless mistake it seems. =) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now