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

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

Recommended Posts

Posted

Hello,

 

I need to remove text in a field which is separated by a ":".

Is there a way of telling FM to use ":" as a delimiter and remove or replace any text that is following a ":" ?

 

Thanks!

Posted

This calculation should do it:

 

Let([

len = length(Self);

colon_pos = Position(Self; ":"; 1;1);

up_to_colon = Left(Self; colon_pos);

after_colon = Right(Self; len - colon_pos +1)];

up_to_colon & "new text to display after colon"

)

 

Set the field as a text field and set it to auto enter the above calculation. If the data in the field is being imported or manually entered after the record is created, uncheck the "do not replace the existing value..." checkbox.

  • Like 1

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