right static method

String right(
  1. String value,
  2. int fromRight
)

Returns all characters from value starting at fromRight inclusive. If fromRight is outside the bounds of value then an RangeError is thrown.

Implementation

static String right(String value, int fromRight) {
  return value.substring(fromRight);
}