Chaque caractère de String Java

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

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