Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6135 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a list of all the cities in the usa. I need to be able to replace he space between the words with a dash "-". Sometimes the city is 1,2 or 3 words. Can anyone help?

Posted

You could use substitute(CityList ; " " ; "-" )

this will replace all spaces with a dash.

Posted (edited)

But what if the city is two words? Are you saying your list looks like:

San Francisco, Detroit, New Mexico, Los Angeles, Denver

... and you want it to look like:

San Francisco - Detroit - New Mexico - Los Angeles - Denver ?

Please clarify a bit for us.

UPDATE: Why don't you split them into a table with records now while you have the chance, since that's how they should be anyway?

Edited by Guest
Added update and fixed typo

This topic is 6135 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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