Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2086 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 ) )

Posted

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 )
)

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.