lsmall Posted September 21, 2007 Posted September 21, 2007 I am trying to make a calculation to extract specific data from a field to which I copy and paste a list of data items from another source. For example the copied data would be something like this all pasted into one field Name: Joe Age: 45 Sex: M From this field I would like a calculation "Name" field to extract the appropriate data from the pasted data field and then a separate calculation field to extract "Age" etc. Hopefully this makes sense. Let me know if I should clarify. Thanks
comment Posted September 21, 2007 Posted September 21, 2007 See if this helps: http://fmforums.com/forum/showpost.php?post/189829/
Fitch Posted September 21, 2007 Posted September 21, 2007 There are various ways to parse text. For the example you provided I might do something like: Name = Substitute( GetValue( yourList ; 1 ) ; "Name: " ; "" ) IOW, take the first line of your list using GetValue, and then replace the label with blank.
lsmall Posted September 21, 2007 Author Posted September 21, 2007 Thanks for your quick and helpful replies. These are both good solutions. Much appreciated
Recommended Posts
This topic is 6333 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