convertStripId static method

String convertStripId(
  1. String convert
)

Implementation

static String convertStripId(String convert) {
  if(convert.endsWith("Id")) {
    convert = convert.substring(0, convert.length - 2);
  }
  return convert;
}