Jedes Zeichen in String -Java

string foo = "hello world", bar = string.Empty;

foreach(char c in foo){
    bar += c;
}
Splendid Starling