the ending offset will be displayed by default
whitespace will be trimmed by default