public static String repeat(String string, int count) {
        if (count <= 1) {
            return (count == 0) ? "" : string;
        }