cancel
Showing results for 
Search instead for 
Did you mean: 
bbarton11
Pilgrim

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
Labels (1)
0 Kudos
2 Replies
ch_eng
Flexera beginner

Re: How do I split a string?

This should help with this particular case of string splitting:


http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/h...

(kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/helplibrary/ParseUrl%20example.htm)
0 Kudos
Highlighted
bbarton11
Pilgrim

Re: How do I split a string?

Excellent, thank you!
0 Kudos