tottijohn Posted April 24, 2007 Posted April 24, 2007 I have a text field which contains contents like "1A+22B-3C" or something like that. I created another number field so that i can get a sum of the text field, which will be "20" for the above example. How can i go about doing that? I tried using the filter function in the number field; Filter((text field);"0123456789+-*/") but could only narrow it down to "1+22-3"
The Shadow Posted April 24, 2007 Posted April 24, 2007 Just run Evaluate on the filtered result: Evaluate( "1+22-3" ) will give 20.
tottijohn Posted April 24, 2007 Author Posted April 24, 2007 How can i not think of such simple solution? Gee thanks!
Recommended Posts
This topic is 6484 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