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 2003 SMTP conector
access 2007 - invalid procedure call
ScaleMode in VBA
Access 07 "encountered an error during setup" on a PC that has Office 07 standard already installed
How to specify an address on the From line in Sharepoint Designer email
Slow Windows 2003 Print Server
VB.NET: optimal buffer size and speed issues with IO.FileStream
Access 2007 Exit Button ID for ribbon UI
SSIS Connection Manager
adjust macro to count and display values