Johnny777 Posted June 17, 2009 Posted June 17, 2009 Can anyone give me a simple script which searches thru a given text field and strips out any character accept numbers (zero to nine). Leaving only the numbers in the field. Many thanks
javabandit Posted June 17, 2009 Posted June 17, 2009 This should do it: Set Variable [$var; Value: Filter(table::fieldname ; "0123456789" )] Set Field [table::fieldname ; $var ]
comment Posted June 17, 2009 Posted June 17, 2009 Or just: Set Field [ table::fieldname ; Filter ( table::fieldname ; "0123456789" ) ]
Johnny777 Posted June 17, 2009 Author Posted June 17, 2009 Second one worked a treat Many thanks for both replies
Recommended Posts
This topic is 5988 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now