Scenario:
We have to display the sales order document number in the Ivoce PDF template from the created from Firld by avoiding the Text SALES ORDER
Solution
<#assign customFieldValues = record.createdfrom?split("Sales Order ")> <#list customFieldValues as customFieldValue> ${customFieldValue} </#list>