How do I find a substring has smallest length in a given String? (the returning substring does not need in a fixed order)
How can I replace all occurrences of a substring from a string with a smaller substring, in-place?