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.

Featured Replies

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

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.

  • Author

Thanks doughemi, It is exactly that I need. Perfect!!!!!

 

Thank you very much,

Wardiam

  • 1 month later...

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.

I have to reply

 

No, you don't. Really. Trust me on that. It serves no purpose whatsoever. Totally unnecessary work on your part.

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.