2
In python, the string has a function called title, which makes a text look like a title. Does it have a function like this in Java? If not, how to do it?
Example: "Hi, my name is Goku". title() -> "Hi, My Name Is Goku"
I need that function because I’m working with people’s names, and the person’s name has to stay that way.
Another Example: Freight Freight Astrobalda -> Freight Forwardrotilda Astrobalda
Beware of names like Freterotilda da Silva: "da" usually has to be lowercase.
– bfavaretto