I have a string, for example FastFood, how do I remove Food and leave only first word? Also it could be VeryFastFood, then Very should be left, etc.
Some strings may containt 3 uppercase starting letters. I need then only this 3 letters to be left. for example YOUProblem – must be YOU.
Here is a function that can do it for you as well: