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.

Text Calculation to separate words in text string

Featured Replies

I need to import a file that has a field in which the individual words in a name have been combined into one word (i.e. SmithRooftopBuilding). I need a calculation that would separate the words at each capital letter so that it would read "Smith Rooftop Building". I assume the easiest way to do this would be to write a calculation that inserts a space before each 2nd capital letter in a text string. However, I'm having a hard time doing it.

Any help would be appreciated.

You could substitute every upper-case character with itself preceded by a space, then trim the result.


Trim (

Substitute (

  Tips::Raw ;

       [ "A" ; " A" ] ; [ "B" ; " B" ] ; [ "C" ; " C" ] ; [ "D" ; " D" ] ; [ "E" ; " E" ] ; [ "F" ; " F" ] ; [ "G" ; " G" ] ;

       [ "H" ; " H"] ; [ "I" ; " I" ] ; [ "J" ; " J" ] ; [ "K" ; " K" ] ; [ "L" ; " L" ] ; [ "M" ; " M" ] ; [ "N" ; " N" ] ;

       [ "O" ; " O" ] ; [ "P" ; " P" ] ; [ "Q" ; " Q" ] ; [ "R" ; " R" ] ; [ "S" ; " S" ] ; [ "T" ; " T" ] ; [ "U" ; " U" ] ;

       [ "V" ; " V" ] ; [ "W" ; " W" ] ; [ "X" ; " X" ]; [ "Y" ; " Y" ] ; [ "Z" ; " Z" ]

    )

)

  • Author

Thank you very much.

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.