Added support for ranges like trim() has