List of utility methods to do String Insert
String | insertStringAtOffset(String srcStr, String inStr, int offset) insert String At Offset String result = ""; if (inStr == null) { inStr = "\n"; for (int i = 0; i < srcStr.length(); i++) { if (i != 0 && i % offset == 0) { result += inStr; result += srcStr.charAt(i); return (result); |