
brianjohnbarton1.5524924921593264E12 asked a question.
How do I split a string?
Hi All,
I have a string that will be a server location such as:
http://localhost/ReportServer
https://localhost/ReportServer
http://localhost:85/ReportServer
https://localhost:85/ReportServer
How can I split the string (could be any of those four varities) to get seperate strings for each component like:
http (or https)
localhost
85 (if present)
ReportServer
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/helplibrary/ParseUrl%20example.htm
(kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/helplibrary/ParseUrl%20example.htm)