Matthew R White Posted March 20, 2019 Posted March 20, 2019 I'm using the following function to pull text from a text field. The text is about 30-40 lines long. How do I text parse until the end of the text? I tried using "" as the end suffix but I am now returning nothing. Thank you Let ( [ Textfield = BWIA2 FMP11 2::Web Quote Entry Hangar ; prefix = "comments:" ; suffix = "" ; start = Position ( Textfield ; prefix ; 1 ; 1 ) + Length ( prefix ) ; end = Position ( Textfield ; suffix ; start ; 1 ) ] ; Middle ( Textfield ; start ; end - start ) )
comment Posted March 20, 2019 Posted March 20, 2019 If I am guessing correctly, you want = Let ( [ text = YourField ; prefix = "comments:" ; start = Position ( text ; prefix ; 1 ; 1 ) + Length ( prefix ) - 1 ] ; Right ( text ; Length ( text ) - start ) )
Recommended Posts
This topic is 2086 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