Hi All,
Is there any function in Ax to retrieve characters only from a string?
Hi All,
Is there any function in Ax to retrieve characters only from a string?
Short answer: no.
That’ll work, especially since it’s not case sensitive. I was thinking regular expressions
Hi Martin,
Using this function, we can only retrieve the only specified string in the input…it wont return all the characters of the string…
So how to return all the characters of the string? Is there function for that?
Thanks and regards,
Kevin
And now we’re back to my first reply: “no”. No ready function exists, you’d have to write (for example) a method in the Global class using regular expression. But as I completely suck with RegEx, I’m no help there
strKeep() keeps ALL characters defined in the second parameter. Try this, for example:
info(strKeep(“x = (a + b)”, “abcdefghijklmnopqrstuvwxyz”)); //shows “xab”
Yes Martin…
mrsalonen … Here is the answer…Thanks to Martin