URI ssp (urissp)
Description
Extracts the ssp (scheme-specific part) from a URI. This corresponds to the part after the scheme of a URI.
How does it work in the search window?
Select Create field in the search window toolbar, then select the URI ssp operation. You need to specify one argument:
Argument | Data type |
---|---|
URIÂ mandatory | string |
The data type of the values in the new field is string.
Example
In the demo.ecommerce.data
table, we want to extract the ssp of the URIs in our referralUri field. To do so, click Create field and select the URI ssp operation. The arguments needed are:
URI - referralUri field
Click Create field and you will see the following result:
How does it work in LINQ?
Use the operator select
... as
... and add the operation syntax to create the new field. This is the syntax for the URI ssp operation:
urissp(uri_string)
Example
You can copy the following LINQ script and try the above example on the demo.ecommerce.data
table.Â
from demo.ecommerce.data
select urissp(referralUri) as URI_ssp