hyTags
HomeHome DocumentationDocumentation

url-get-schema

Gets the scheme from a URL
Parameter
Type
Description
self
Url
The URL to get the scheme from
return
string
The URL scheme (e.g., 'http', 'https')
Test Case:Get schema from URL
    <div></div>
    
    <url-from-string string="https://example.com/path">
    <url-get-schema>
    <assert-equal value="https" type="string">
    
    👆 Try to change something!
  • Test succeeded Test failed