Edifice Posted April 22, 2010 Share Posted April 22, 2010 Hey Guys. Ran into ar funny problem. I'm parsing some HTML, and I wanted use the " character for stringsplit, to get the path of an image (<img src="c:\locating">). stringsplit($string, ") Ofcourse, the compiler doesn't really like it when I do that, so I wondered if any of you knew whether it was possible, and how? Link to comment Share on other sites More sharing options...
AdamUL Posted April 22, 2010 Share Posted April 22, 2010 Use single quotes surrounding the double quote. StringSplit($string, '"') Adam Link to comment Share on other sites More sharing options...
Edifice Posted April 23, 2010 Author Share Posted April 23, 2010 Use single quotes surrounding the double quote. StringSplit($string, '"') Adam Thanks! Link to comment Share on other sites More sharing options...
andygo Posted April 23, 2010 Share Posted April 23, 2010 to type it twice should also work:stringsplit($string, """") 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