Question find/split string?

Nickleo9

New member
Joined
Mar 30, 2010
Messages
1
Programming Experience
3-5
I'm trying to split out 2 codes but it won't work
The source of the website
VB.NET:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jagex Ltd.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Language" content="en-gb, English">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="EXPIRES" content="0">
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<link href="https://www.runescape.com/css/jagex/print-35.css" rel="stylesheet" type="text/css" media="print">
<style type="text/css" media="screen">
@import url("https://www.runescape.com/css/jagex/global-35.css");
</style>

</head>

<body id="body">


<div id="container">
<div id="header">
<ul id="headerNav">
<li><span><a href="http://www.runescape.com/title.ws">RuneScape Home</a></span></li>
</ul>
<div id="innerHeader">
<a id="innerHeaderLogo" href="http://www.runescape.com/"><img src="https://www.runescape.com/img/jagex/header_logo_runescape.jpg?1" alt="RuneScape" /></a>
<span id="logoJagex"></span>
<span id="innerHeaderCnr"></span>
</div>
</div>
<div id="content">
<div id="contentLeft">

<div class="title"><span>
Recover an account
</span></div>
<div style="text-align:center;font-weight:bold;margin-bottom:20px;margin-top:10px;">
Your appeal has been saved. Please follow the instructions below to continue.
</div>
<div style="text-align:center;">
In order to track your request we are going to issue you with a <b>tracking ID</b>.
Please make a careful note of it, as we will need you to re-enter it in a moment to finalise your appeal.<br><br>
<b>Your tracking ID:</b> <img style="display:inline;" alt="Tracking ID 1" src="trackingid.jpg?text=43590205P"> - <img style="display:inline;" alt="Tracking ID 2" src="trackingid.jpg?text=A8F2F563"><br><br>
<a href="confirmtracking.ws">Continue</a>

</div>
<br />
</div></div>
<div id="footer">
<ul>
<li><a href="http://www.runescape.com/kbase/guid/jagex" target="_blank">About Jagex</a></li>
</ul>
<div id="copyRight">© Jagex 1999 - 2010</div>
</div>
<div id="TnC">
By using our service you are agreeing to our <a href="http://www.runescape.com/terms/terms.ws" name="terms">Terms & Conditions</a> and <a href="http://www.runescape.com/privacy/privacy.ws" name="privacy">Privacy Policy</a>.

</div>
<div class="clear"></div>
</div>
<br><br>
</body>
</html>

Trying to split out the
trackingid.jpg?text=43590205P
trackingid.jpg?text=A8F2F563
with this code:
VB.NET:
        Dim a As String()
        Dim b As String()

        a = Split(RichTextBox1.Text, "src=")
        b = Split(a(2), Chr(34))
msgbox b(1)

I can get the first one but not the secound...
Please help me.
This thing is that it
Yes I have tryed alot but It doesn't go up to the next src...
b(2) gives
VB.NET:
> -
I want it to take out the other trackingid too...
 
Back
Top