StringBefore
4 min
finds a value before a particular word or phrase inside the token syntax stringbefore(inputtext, option, followingtext) 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 on which to perform stringbefore option options available to perform stringbefore fromstart returns the text that appears before the search text fromstartofline returns all the text that appears before the search text, until the end of the line previousword displays the next word before the search text previousnumber displays the next number before the search text followingtext a particular text immediately after the value that needs to be found return value returns a string before a particular text example $(stringbefore(' this is regarding incident 1234 which is important', 'fromstart', 'incident ')) returns this value this is regarding
