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
how to skip tempdb in SP_MSFOREACHTABLE and SP_SPACEUSED
Access - Forms - Maximum number of Fiels
Deploy a change in registry in a terminal server farm
How to call a sub in a seperate class file
ATL COM compilation error in atlcom.h
Why am I getting this error message after running spybot
Hide panel navigation bar on Access 2007
Access Sample Databases - Web Sites
Promoting secondary dns server to primary
Adp Project Linked tables