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
Make Table Query but save it in a New Database
Resource unavailable when calling modeless dialog from regular MFC dll
If first character in string is zero, remove it
How do I email a pdf report when ID=ID?
How to unshare Printers & Faxes and Scheduled Tasks
get data from a gridview to a popup window and then update the gridview
MS Access
Setting up MSDE 2000
Oulook distribution list does not send to everyone in the list
Excel 2003 - How to delete rows - based on a criteria - as part of a macro