mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-09-27 05:23:57 +00:00
Fixed #7. Added support for insert function
This commit is contained in:
@@ -490,7 +490,7 @@ public abstract class Strman {
|
||||
if (index > value.length()) {
|
||||
return value;
|
||||
}
|
||||
return value.substring(0, index) + substr + value.substring(index);
|
||||
return append(value.substring(0, index), substr, value.substring(index));
|
||||
}
|
||||
|
||||
public static String leftPad(final String value, final String pad, final int length) {
|
||||
|
||||
Reference in New Issue
Block a user