TrimStart
4 min
trims specified characters from the start of a text string each character in the modifier is evaluated, regardless of order, and repeated characters are removed this example shows how to trim start characters from a string original token 719 386 7000 modifier trim 719 result 386 7000 this example shows how to trim repeated characters from the beginning of a string original token 000051234 modifier trim 05 result 1234 this example shows how to trim characters from the beginning of a string, regardless of order original token abcergzxy modifier trim cba result ergzxy syntax trimstart(inputtext, trimtext) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes1 business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes1 business rules editing rules yes business rules initialization rules yes business rules read only rules yes business rules required rules yes business rules validation rules yes client expressions yes object permissions no services no ldap no mobile no quick actions (except ui quick actions) yes ui quick actions yes reports yes search/dashboard without field references no search/dashboard with field references no 1 not fully supported in calculation rules that have a condition of after save or the also recalculate on load option selected it may fail if the rule's field is used in a grid, form, or saved search parameters parameter description inputtext input string to perform trim start trimtext text that needs to trim from input string return value returns a string that doesn't contain trimtext (text will trim from start) example $(trimstart('abcergzxy','cba')) returns this value ergzxy
