removeSuffixLength method

String removeSuffixLength(
  1. int i
)

移出尾部指定长度

Implementation

String removeSuffixLength(int i) => substring(0, length - i);