Microsoft
Software
Hardware
Network
Question : grabbing text from a string after a logic
I have the following string: "elli-pictures/18.aspx?PGI
mageID=905
8"
how can i code in vb to grab all the information after "PGImageID=". In this case, i need it to return 9058
Answer : grabbing text from a string after a logic
First:
Dim str As String = "elli-pictures/18.aspx?PGI
mageID=905
8"
Dim strs As String() = str.Split("="c)
Dim number As String = strs(1)
Response.Write(number)
Random Solutions
SQL Command in Crystal Reports
Lookup Values with Substring Match instead of Exact Match
Exchange Store Error caused by AVG upgrade
How to use InvokeCommand with verb "COMPRESS"?
Vlookup as MsAccess Query - possible? But with one variance...
Using SQL to find non-duplicate data.
TimeZone -- CountryCode list
VS2008 - Could not find assembly error ... after upgrading to VS2008
Novell Zenworks 10 vs MS System Center Essentials 2007
How can I retrieve the HTML source from a web page at a certain URL?