overrider Posted January 25, 2008 Posted January 25, 2008 (edited) Hello all, i have a Text-field which contains multiple lines of Text, for some reason, i often find records where the first line of the text-field contains nothing, i assume it is entered as a carriage return. Is there a simple way to strip this 1 extra carriage return from the beginning of the text-fields content? Thanks, Overrider Edited January 25, 2008 by Guest
Lee Smith Posted January 25, 2008 Posted January 25, 2008 You can try the Trim Function, and if that isn't strong enough, then check out the Custom Functions at Brian Dunning's Site called Trim 4
Newbies Nina Posted January 30, 2008 Newbies Posted January 30, 2008 If you can calc the field you could use a leftwords(fieldname, 64000). That will strip of the leading carriage return. The Trim function won't.
sbg2 Posted January 30, 2008 Posted January 30, 2008 but that will also strip out other characters such as: & ! * ^ to name a few.
Lee Smith Posted January 30, 2008 Posted January 30, 2008 The custom function I pointed to will do that. Lee
Recommended Posts
This topic is 6202 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