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
Exchange 2010 Management Console connects to the wrong server
Windows 7 Upgrade Advisor without Internet connection.
The page cannot be displayed - 10060 - Connection timeout
Calling DLL function in release mode from exe in debug mode
Setting up Server 2008 in a branch office with SBS 2008
Access SQL: Self Join with Multiple Criteria
How to use the icons in the Office2007IconsGallery
add/edit/delete from dataset, and bind a field in dataset to a combobox,
Windows XP SP3 Laptop - Keyboard and Mouse not responding
SharePoint "webpage cannot be found" error message after installation