enquirerfm Posted October 14, 2010 Posted October 14, 2010 (edited) I have a field which I am attempting to parse to extract various data to post into other fields. In the first part it contains a 4 digit number which I wish to extract whilst numbers are present in the field later on...there must be a way of extracting the entire number as an integer and then only using the 4 digits on the left? Thx. OK resolved this by using Left(GetAsNumber(DB::Fieldname);4) Simple! Edited October 14, 2010 by Guest
comment Posted October 14, 2010 Posted October 14, 2010 Try = Left ( Filter ( YourField ; "0123456789" ) ; 4 )
TheTominator Posted October 14, 2010 Posted October 14, 2010 If you are sure that it is a 4 digit number then Left(Filter(myDataField;“0123456789”); 4) If it might be 1 or more digits then LeftWords(Filter(myDataField;“0123456789 ,”); 1) might be a better choice.
Recommended Posts
This topic is 5154 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