StringAfter
4 min
finds a value after a particular word or phrase inside the token syntax stringafter(inputtext, option, preceedingtext) 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 stringafter option options available to perform stringafter nextword displays the next word after the search text nextnumber displays the next number after the search text this skips over any text until it finds a number toend returns all the text that appears after the text to search for toendofline returns all the text that appears after the text to search for, until the end of the line preceedingtext a particular text immediately preceding the value that needs to be found return value returns a string after a particular text examples $(stringafter(" this is regarding incident 1234 which is important", "nextword", "regarding")) returns this value "incident" $(stringafter(" this is regarding incident 1234 which is important", "nextnumber", "regarding")) returns this value "1234" $(stringafter(" this is regarding incident 1234 which is important \n please respond urgently", "toend", "regarding")) returns this value "1234 which is important \n please respond urgently" $(stringafter(" this is regarding incident 1234 which is important \n please respond urgently", "toendofline", "regarding")) returns this value "incident 1234 which is important"
