This website uses cookies. By clicking OK, 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
bbarton11
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- 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
ch_eng
Flexera beginner
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 30, 2013
04:50 PM
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)
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/h...
(kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/Subsystems/installshield19langref/helplibrary/ParseUrl%20example.htm)