Sign in to follow this  
Followers 0
MadBoy

Special Char

5 posts in this topic

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)

Share this post


Link to post
Share on other sites



Actually the problem is with \


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
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.

 

Share this post


Link to post
Share on other sites

Ah sorry :) I used it one time and forgot i need to set the flag :/ Tnx Gafrost!


My little company: Evotec (PL version: Evotec)

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  
Followers 0