Jump 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 parsing question exchanging spaces for - and removing a ,

Featured Replies

I have another example of a file I need to parse.

 

All Saints' Episcopal Church, Brighton Heights, PA    

this is the way it looks

 

But If I change the ending of it I can do what I need to do.

 

http://www.episcopalchurch.org/parish/all-saints-episcopal-church-brighton-heights-pa

 

the beginning is always the same
http://www.episcopalchurch.org/parish/

 

all saints' episcopal church brighton heights, pa

needs to change to

all-saints-episcopal-church-brighton-heights-pa

 

I need to put in the '-' and take out the (') if there is one and the comma after the city.

 

Then I will be able to import the whole batch and get this work done.

Thanks

You will want to take advantage of Substitute(), similar to this:

Substitute ( text ; [ "'" ; "" ] ; [ "," ; "" ] ; [ " " ; "-" ] )

You should be able to copy and paste this into the calculation dialog and simply change 'text' to your field name.

  • Author

Thank you LaRetta

BTW, if it ever doesn't remove the apostrophe then it is probably a smart quote.  You would need to copy it and paste it into the substitution to remove it.  I always uncheck 'use smart quotes' in File > File Options and Text tab.

Hi hownow,

 

It appears that all of your questions are on the same need.

 

Please do not multiple post your questions. Instead just reply  to the existing question with the additional need. That way, the members can follow what has already been suggested and how it helped or didnt.

 

Lee

 

Create an account or sign in to comment

Important Information

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

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.