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.

Copy and paste and deleting text space

Featured Replies

Hello Forum

Hope you can help me on this one.

I have to copy and paste about 200 contacts and whenever I do this the address line places the text into the address fields with a space which I have to then delete.

E.G

123 the Avenue

is pasted as

_123 the Avenue

_ = space

Is there a function that will automatically delete the space?

Hope you understand.

Thanks

Martin

Check out the Trim Function. It removes Preceding and Trailing spaces. There has also been some creative Posts to handle multiple spaces using the Substitute Function.

HTH

Lee

You want to use TrimAll(theField ; 0 ; 0 )

Trim will delete all spaces between the words IN the address field as well. :wink2:

  • Author

Thanks for that it works a treat.

Just one thing how do I correct all the other address labels that I did before with this function?

Regards,

Martin

Um, you used Trim() on them? Do you have a backup copy?

  • Author

NO

You can use the Trim function in a Replace Field Contents step to modify the address field for all the records in your database. Use the calculated replace option to enter the formula. Make sure you have a backup before using Replace Field Contents. It can't be undone. Also, Replace Field Contents only works on the current found set. It's probably best just to show all records since the Trim function won't cause problems with addresses that don't have leading or trailing spaces.

Edited by Guest

Correct. I have no idea where my mind was on this one. I've been working with Substitute() too much today.

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.