Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

How can I use the substitute command to add a space after a "." or a "," to every occurence in a text field, but only if the space is not already there.

I`ve tried the following:

Substitute(field name; ".*" ; ". ")

Very thankful for any help

Vegard

  • Newbies
Posted

Just a thought...

replace(field name, ".", ". ")

followed by

replace(field name, ". ", ". ")

This puts a space in regardless, then reduces any double spaces to singles.

Jeff Hesketh

quote:

Originally posted by Vegard:

How can I use the substitute command to add a space after a "." or a "," to every occurence in a text field, but only if the space is not already there.

I`ve tried the following:

Substitute(field name; ".*" ; ". ")

Very thankful for any help

Vegard

This topic is 8928 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.