hartmut Posted February 5, 2009 Posted February 5, 2009 Hello I am trying to parce data from a web site. There is always a number value immediately followed by a period. I am trying to delete that data and leave the rest. ex. [color:red] 12. the cardinal ( I need) the cardinal [color:red]156. the baseball ( I need) the baseball There is always at least 2 but up to 5 numbers followed by a period. I am just trying to find a calculation to get rid of the number value and the period but it is not always the same number of digits. I could use the help - Thanks
mr_vodka Posted February 5, 2009 Posted February 5, 2009 You can use Right or Middle. If there is only one period then you can try something like: Right ( field; Length ( field ) - Position ( field; "." ; 1 ; 1 ) )
hartmut Posted February 5, 2009 Author Posted February 5, 2009 thanks that seems to work but there is a space between the period and the following word which needs to go as well.
comment Posted February 5, 2009 Posted February 5, 2009 If there's always a space following the period, you can use: Right ( field ; Length ( field ) - Position ( field ; ". " ; 1 ; 1 ) - 1 )
Recommended Posts
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