I have a list of String (List <String> titles) like this:
"xxxl54.AE",
"xxxl56.AP",
"xxxl57.AE",
"xxxl58.VP",
"xxxl59.WR",
"xxxl56.SD"
But I want to get this:
"xxxl54",
"xxxl56",
"xxxl57",
"xxxl58",
"xxxl59",
"xxxl56"
How do I delete the part that is to the right of the point?