Hello Community,
Fighting this one up to a point i could really wish some help..
I have an automation rule that triggers every time a new customer is added to a list from Salesforce. It is than look for spaces and replaces them with "_" as it will be transform to a label field.

At this point i run on each customer, validate it, adding specific comments and update the label field.
My problem is that sometimes i get a space at the beginning of the customer name, causing it to be looking like "_Customer" instead of "Customer"
Been trying to use multiple ways (2 examples), but none are working....
1. {{#if(({{Custo}}.startsWith("_")),({{Custo}}.substringAfter("_")),{{Custo}})}}{{/}}
2. {{#if(issue.customfield_10193.replace(" ","_").startsWith("_")),(issue.customfield_10193.replace(" ","_").substringAfter("_")),(issue.customfield_10193.replace(" ","_"))}}
Any idea how can i break the list based on spaces and also validate no space at the beginning?