Evaluate expressions and manipulate strings.
expr length {{string}}
expr {{first_argument}} {{operator}} {{second_argument}}
echo $(expr index {{string}} {{substring}})
echo $(expr substr {{string}} {{position_to_start}} {{number_of_characters}}
echo $(expr {{string}} : '\({{regular_expression}}\)')