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 to get rid of extra spaces in text file

Featured Replies

How do i get rid of spaces (blank spaces).

example:

Corona123 =123 is for extra blank spaces.

budweiser123456 =123456 is for extra blank spaces.

I'm afraid your example did not help. Perhaps your example was 'fixed' by the Forum (it automatically removes extra spaces in posts, unless you use the

 

tags.)

I believe what he's saying is that 123 and 123456 are supposed to be his extra spaces. But he's subed them for the forum. Although I could be wrong. If this is the case Nestor, use the Trim() Function

Trim removes extra spaces at the begginning and the end of the field. If, however, that is not the case and your comming up with extra spaces in the middle of your field like:


hi       there     how    are    you    ?



 You could do something like





Substitute(text; ["     "; " "]; ["    "; " "]; ["   "; " "]; ["  "; " "])

Should work. Thats assuming you only ever want one space inbetween anything of course.

  • Author

The trim function is exactly what i want to do. I want to be able to get rid of spaces at the end of the word. How would you use the trim function for the examples above. Thanks in advance

Why not just use the TrimAll Function?

  • Author

The trim all function worked perfectly. thanks for all the help..

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.