Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do _i_ remove the last carriage return and all text right of it ?

Featured Replies

Hello,

 

 

How to simply....  "remove the last carriage return and

all text right of it ?

 

thank you for your time.

 

disable vet

rob

Solved by Wim Decorte

Go to solution
  • Solution

something like: lefttValues( yourText, valuecount( yourText) - 1 )

  • Author

Dear Philadelphia,

 

geeeeese... of course !!!  _i_ forgot valuecount !!!

 

but....... remain with same problem ....

 

theres one last carriage return siting at the bottom NOT WANT !!

 

 

rob

 

from wawaka Indiana

theres one last carriage return siting at the bottom NOT WANT !!

 

That is correct: The LeftValues() function, like all xValues functions, leaves a trailing CR. If you don't want it, try =

 

Let (
v = LeftValues ( YourText ; ValueCount ( YourText ) - 1 )
;
Left ( v ; Length ( v ) - 1 )
)

for example, or =

Left ( YourText ; Position ( YourText ; ¶ ; Length ( YourText ) ;  - 1 ) - 1 )

Edited by comment

  • Author

Dear Forum,

 

 

Well... Thank you very much !!

 

 

_i_ like Wim Decorte's simplicity:

 

 

lefttValues( yourText, valuecount( yourText) - 1 )

 

And to get a bit esoteric, " _i_  think thats what FileMaker Pro is all about ....

 

... evolving simplicities  (going easy on the brain).  So _i_ will use  Wim Decorte's formula and

 

simply follow it with  ... Case(Right(textField;1)= ¶; Left(textField; Length(textField)-1); textField).

 

Definitely interesting formula equation above ... will save that in my file.

 

AGAIN THANKS AND GOOD DAY !!

 

rob_ert

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.