This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How do I split a string?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2013
02:18 PM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2013
04:50 PM
This should help with this particular case of string splitting:
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)
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)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 31, 2013
09:16 AM
Excellent, thank you!