remove0x function
Remove "0x" at the begin of a string.
@param input The input string. @return The string without 0x.
Implementation
String remove0x(String input) {
if (input.startsWith("0x") || input.startsWith("0X")) {
return input.substring(2);
} else {
return input;
}
}