leftAlgoFm method

String leftAlgoFm(
  1. int value
)

Implementation

String leftAlgoFm(int value) {
  String fmv = replaceFirst('##', value.toString());
  if (value > 1) {
    fmv = fmv.replaceFirst("'#", "s");
  } else {
    fmv = fmv.replaceFirst("'#", "");
  }
  return fmv;
}