JMP Posted August 26, 2004 Posted August 26, 2004 Anyone know if it's possible to search for and replace an the end-of-line in a text field when the field has only a single line of text?
CobaltSky Posted August 26, 2004 Posted August 26, 2004 Hello JMP, I assume that you mean that you want to remove a carriage return character which is at the end of a single line of text. If so, you could use the formula: If(Right(YourTextField, 1) = "
-Queue- Posted August 26, 2004 Posted August 26, 2004 Alt Left( YourTextField; Length(YourTextField) - (Right( YourTextField; 1 ) = "
CobaltSky Posted August 27, 2004 Posted August 27, 2004 Yes. Neat! Or, if the text field is not expected to have trailing punctuation: LeftWords(YourTextField, 99)
Recommended Posts
This topic is 7655 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