Jump to content

Special Char


Recommended Posts

I couldn't find suitable answer on forum so i'll ask. I'm trying to get some info from html page with _INetGetSource($adress). It all works perfect till moment when i have to 'use' the info of page. I'm trying to do string split.

$anothersplit = StringSplit($registrystring[2], '</a>')
Problem is that <, > and / are special chars? I need a way to use them int string split. Any ideas?

My little company: Evotec (PL version: Evotec)

Link to comment
Share on other sites

I couldn't find suitable answer on forum so i'll ask. I'm trying to get some info from html page with _INetGetSource($adress). It all works perfect till moment when i have to 'use' the info of page. I'm trying to do string split.

$anothersplit = StringSplit($registrystring[2], '</a>')
Problem is that <, > and / are special chars? I need a way to use them int string split. Any ideas?
try

$anothersplit = StringSplit($registrystring[2], '</a>',1)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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...