datalink Posted November 10, 2009 Posted November 10, 2009 I'm not sure why I'm having trouble with this calculation, but I seem to be having a brain freeze on it. I need a calculation that will take everything to the right of the 13th ":" in a data stream. There isn't a fixed length to the text that will come after the ":" it just ends. Any suggestions would be most welcome.
bcooney Posted November 10, 2009 Posted November 10, 2009 Maybe this link will help: http://www.fmforums.com/forum/showtopic.php?tid/202624/
LaRetta Posted November 10, 2009 Posted November 10, 2009 (edited) Trim ( Let ( start = Position ( text ; ":" ; 1 ; 13 ) ; Right ( text ; Length ( text ) - start ) ) ) I didn't see you posting, Barbara. :smile2: Edited November 10, 2009 by Guest
Raybaudi Posted November 10, 2009 Posted November 10, 2009 (edited) Try: Let([ start = Position ( YourTextField ; ":" ; 1 ; 13 ) + 1 ; end = Length ( YourTextField ) - start + 1 ]; Middle ( YourTextField ; start ; end ) ) Neither me, LaRetta & Barbara ! Edited November 10, 2009 by Guest
datalink Posted November 11, 2009 Author Posted November 11, 2009 Thanks so much. Those were both really helpful!
Recommended Posts
This topic is 5550 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