Actually the first line is left aligned, but if you want the first line to be like the rest, as you wrote, you should change the format flag.
String str = "canada";
for (int i=0; i< str.length(); i++) {
System.out.printf("%20s", str.substring(i) + "\n");
}
CLICK HERE to find out more related problems solutions.