Home
Extended ECM
API, SDK, REST and Web Services
How to remove non-alphanumeric characters in a string in OScript
Cecilia_Qian
Hi There,In my OScript codes, I want to remove all non-alphanumeric characters in a string and then assign it to another String variable. If there any function I can call? I check the Str functions but it didn't seem any of them fits.Any ideas?Thanks.Cecilia
Find more posts tagged with
Comments
Appu_Nair
if you do a builder search for or any of the wf replacement tags you will see how oscript string parsing using regular expressions.I belive it obeys some regexp library I forget which.
John W. Simon, Jr.
Check out the documentation for "Pattern", "PatFind", and "PatChange".