Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 24.0
Div
Classe2e-refDiv
Rp

Builder 7.5.0

Syntax

Code Block
languagenone
aUrlObject = aUrlString.parseUrl()
Semantics

Parses an URL given in a String variable into the following data structure:

Image Modified

parseUrl() uses the following defaults:

  • If no scheme/protocol is given, https is supplied as default scheme.
  • If not given, the port is derived from the scheme/protocol, e.g. 443 for https.

Apart from these defaults: not given elements will be NULL in the data structure.

SubstitutablesaUrlString

A String containing a valid URL.

Info
iconfalse

parseUrl()does not decode any part of aUrlString. This must be taken care of by the modeler.

aUrlObjectAn object of type URL.
Error CodesFind the related error codes on System Errors.
FUMSM/32URL parsing error.
Examples
Code Block
languagenone
set aUrlString = "https://doc.scheer-pas.com/display/BRIDGE";
create aUrlobject;

set aUrlObject = aUrlString.parseUrl();

Output:

<aUrlObject>
    <scheme>https</scheme>
    <host>doc.scheer-pas.com</host>
    <port>443</port>
    <path>/display/BRIDGE</path>
</aUrlObject>

Multiexcerpt include
MultiExcerptNamestring
nopaneltrue
PageWithExcerptINTERNAL:_examples_BRIDGE

Panel
titleRelated Pages: