dropBackWhile abstract method

void dropBackWhile(
  1. bool test(
    1. String

Drops characters from the end of the range while they satisfy test.

Iterates the characters of the current range backwards from the end and removes all the iterated characters until one is reached for which test returns false. If on such character is found, all characters are removed, which gives the same effect as collapseToStart.


void dropBackWhile(bool Function(String) test);