I’m trying to remove the first 3 characters of a string (any characters, even spaces). It seems that @supernaturally had a solution in that thread (now closed), but it’s giving me the first 3 characters, not removing them. This seems to be one of the things we can’t do with Bubble’s built-in options (truncate, truncate from end to, etc.).
@Lucien if you still want to use regex to remove the first 3 characters you can do the following.
I think it will be faster than calling an api to do any calculations.
Note that i’m using the :find and replace instead of the :extract with regex.
Basically we’re using regex to find the first 3 characters and replace it with empty string - that is why the Replace by box is empty
Yes because you were using :extract with regex.
So with that pattern it is extracting the first 3 characters for you.
But what you wanted was to use the pattern to find the first 3 characters and replace them with empty (which essentially removes them).