UriExtensions extension
- on
Methods
-
first(
{String separator = "/"}) → String -
Available on Uri, provided by the UriExtensions extension
Divides a Uri byseparatorand returns the first part. -
last(
{String separator = "/"}) → String -
Available on Uri, provided by the UriExtensions extension
Divides a Uri byseparatorand returns the last part. -
parentPath(
{String separator = "/"}) → Uri -
Available on Uri, provided by the UriExtensions extension
Uri is divided byseparatorand moved one level up. -
splitLength(
{String separator = "/"}) → int -
Available on Uri, provided by the UriExtensions extension
Divides Uri byseparatorand returns the number of elements. -
trimQuery(
) → Uri -
Available on Uri, provided by the UriExtensions extension
Trims Uri query characters (after ?).