VBEval>ucase(...... For multi-line strings

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Mark@HOB
Newbie
Posts: 6
Joined: Fri Jun 27, 2003 10:10 am
Location: Malta (Head Office in Germany)
Contact:

VBEval>ucase(...... For multi-line strings

Post by Mark@HOB » Mon Feb 16, 2004 8:30 am

Hi all,

I am trying to parse an HTML page for links using the position command but there is a problem with case-sensitivity. In a previous posting, someone suggested I use VBEval>ucase to convert the HTML page to uppercase before searching for links but this does not seem to work with HTML pages because apparently it does not handle multi-line strings.

Does anyone have any ideas?

Regards,

Mark

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Feb 16, 2004 10:50 am

Hi,

So, why not create a Vbscript function that parses each line of the string in turn turning each one to uppercase and returning the result?
MJT Net Support
[email protected]

Mark@HOB
Newbie
Posts: 6
Joined: Fri Jun 27, 2003 10:10 am
Location: Malta (Head Office in Germany)
Contact:

Post by Mark@HOB » Mon Feb 16, 2004 11:37 am

oki... Haven't really gotten into vbscript but if that's what it takes, I guess I'll have to :-)

Thanks for your help,

Mark

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts