How could I change the first 2 characters of a variable to be the characters ‘CC’ without touching the rest…?
Many thanks and Merry Christmas
How could I change the first 2 characters of a variable to be the characters ‘CC’ without touching the rest…?
Many thanks and Merry Christmas
You can use a "Search and Replace" action using a regular expression, like this:
Here's the Regular Expression itself:
^.{2}
Explanation:
^ Match at the start of the string
. Match any character (except newline characters)
{2} Modifier for ".", meaning match two characters
Could also be written:
^..
###Alternative method:
Hope this helps. Let me know if you need more explanation.
Amazing!
Very quick repsonse too, many thanks!