Navigation :
Envision Tutorials
Envision Explanation
Envision How-To Guides
Lokad Platform
Envision Reference
- Glossary
- Platform overview
- List of icons
-
_
-
A-B-C
-
D-E-F
-
G-H-I
-
J-K-L
-
M-N-O
-
P-Q-R
-
S-T-U
-- Selectors
-- stylecode
-- same
-- sample
-- sanitize
-- scalar
-- scan
-- scatter
-- schema
-- scriptId
-- sequenceUrl
-- show
-- similarity
-- sin
--
single (disambiguation)
-- slicepicker
-- slices
-- sliceSearchUrl
-- slicetree
-- sliceUrl
-- small
-- smooth
-- smudge
-- solve.moq
-- sort
-- span
-- spark
-- sqrt
-- startsWith
-- stdev
-- stdevp
-- stockrwd.c
-- stockrwd.m
-- stockrwd.s
-- strlen
--
substr
-- sum
-- summary
-- syncUrl
-- table
-- tabs
-- tabstrip
-- tanh
-- taskUrl
-- text
-- then
-- title
-- today
-- transform
-- treemap
-- trim
-- trimLeft
-- trimRight
-- true
-- truncate
-- tryParseDate
-- tryParseNumber
-- tryParseTime
-- tryParseWeek
-- tuple
--
uniform
-- uniform.left
-- uniform.right
--
union (disambiguation)
-- upload
-- uppercase
-- URL
-
V-W-X
-
Y-Z
Envision Gallery
Envision Specifications
Envision Language
Legacy
trimLeft
trimLeft, function
def const pure trimLeft(t: text, toTrim: text): text
Removes characters from the beginning of t. The characters to remove are
listed in toTrim.
t: the text to trim.
toTrim: the set of characters to remove.
Examples
trimLeft(" # abcde### ", " #") returns "abcde### ".
trimLeft(" # abcde### ", " ") returns "# abcde### ".
trimLeft(" # abcde### ", "") returns " # abcde### ".
The toTrim argument is interpreted as a set of characters, not as a prefix.
All leading characters found in that set are removed until the first character
that is not in the set.
See also