I have a text field X where User can write a long or a short string. In an other text field Y, I need to get the first two caracters of that field X. I don't want to do this with JS since it will not be executed if a record is created with import. Is there any way to do this without using c# plugin?
Thanks in advance,
You will need to either use either a plugin or custom workflow activity for this.
Luckily, Gap Consulting provide a custom workflow activity which should hopefully suit this.
Download and install Gap Consulting Workflow Essentials (it's free).
Create a workflow and then use the custom workflow activity, Gap String Functions > Gap.StringFunctions.SubString.
Inputs:
You can then copy the output from that into field Y.
Full discloure; I work for Gap Consulting