Refactoring code. Renaming StringEx to Main