ltrim
The string function used to trim any leading spaces from the left of a string.
Returns: string
Table 1.
Parameter | Type | Description |
---|---|---|
str | string | the string from which to remove the leftmost spaces |
Example
Query
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/> PREFIX fn: <http://data.world/function/functions#> SELECT (fn:ltrim(" foo") AS ?ltrim) { }
Table 2. Results
ltrim |
---|
foo |