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 Express 2005 ODBC Connection Error 67 and 17
Terminal Server - Outlook configures automatically when users login
Email report in PDF gives error
closing form without saving
Access 2003 - How to create a timeline report
Exchange 2003 Likely Corruption help
Export SQL Report without Report viewer
Error message saying cannot connect to linked SQL Server
Outlook XP won't install MAPI services
Changing forecolor in report lables