June 17, 201015 yr Hi everyone! I would like to know if there is any function or ways to cut a portion of the text string.. By cutting, I mean deleting part of the text without touching the rest.. For example, I have a text string such as: 10/10/2009 (W) Via friend (MC) the format normally goes: --date---location----comment---initial I'm doing some data extraction to put it into different sections (date,location, comment and initial). Since the data is not always in this clean format, I would like to delete whatever I have extracted and whatever is left behind would be the fourth section. So now in my script, I would like to perform the CUT function in my text string, but couldn't figure out how to cut only part of the text string... Hope this makes sense. Please advice. Thanks a lot!
June 18, 201015 yr Hi if I undestand correctly: Pseudo-Date, calculation text field with calc: Trim ( Substitute ( YourTextField ; [ location ; "" ] ; [ comment ; "" ] ; [ initial ; "" ] ) )
June 18, 201015 yr Author that's exactly what I wanted! : I was able to implement it in my script. Super! Thank you! Edited June 18, 201015 yr by Guest
Create an account or sign in to comment