import org.pureprogrammer.Utils; public class Iteration6 { public static void main(String[] args) { String s = "Hello, world! 🥰🇺🇸"; for (String c : new Utils.StringCodepointsIterable(s)) { System.out.println(c); } } }