I
I
InPizzaWeTrust2021-01-18 15:00:16
Scala
InPizzaWeTrust, 2021-01-18 15:00:16

How can one count the number of characters in a Scala text?

There is a document that is stored in MongoDB as a text of type String with html tags. Is it possible to somehow count the number of characters in this string and put them in another column of the same database?
Judging by third-party sites, there are approximately 35,000 characters in the document, so the length() method is dropped.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question