Is there anyway in Java to split a string into a list n characters at the time? Pseudo-code example: n = 2; String s = "ABCDEFGH" list = ["AB", "CD", "EF", "GH"] // because n = 2