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

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

Recommended Posts

Posted

Hi Everybody,

 

I have a text field with a text that contains normal and red-bold characters, I would like to count the number of characters with bold style. Could anyone help me to do this operation with a function?

 

I am trying to do an script that extracts the portion of normal text to calculate the length and then calculate the number of total characters minus normal text.

 

What is the best option? a function or an script?

 

Thank you very much,

Wardiam

Posted

What is the best option? a function or an script?

 

Actually, the best option would be not to find yourself in this situation. Data should be stored in fields directly - not encoded in text styling.

  • Like 1
  • 1 month later...
Posted

Actually, the best option would be not to find yourself in this situation. Data should be stored in fields directly - not encoded in text styling.

Sorry, I have to reply to this inappropriate response.

Just because YOU don't have a need for normalizing text in a field doesn't mean someone else does'nt.

And yes HE IS trying to force the data associated with the bolded and colored text to be represented seperately with the mentioned custom function.

Just think about it before you suggest someone is performing what you consider unneccessary work.

TIA.

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