There were a couple of things i had to change because of nulls and the message "A string can be at most 254 characters long". The formula i ended up with was:
if not(isnull({myfield})) then
(stringvar orig:={myfield};
numbervar looper;
numbervar i:=len(orig);
stringvar out :=...
I need to remove non-numerical characters from a string field so that i can convert the field to a number. The non-numeric characters could be anywhere in the string. I could write a lengthy formula using the replace function to remove non-numeric chars but is there a better way of doing this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.