I want to know how to divide a string when I get input. For example enter String "UUU\'L\'LL", I want divide "U,U,U\',L\',L,L"