#!/bin/bash
# str - bash script string support

str_endswith() { [ "${1%$2}" != "$1" ]; }
str_startswith() { [ "${1#$2}" != "$1" ]; }

View the Script Reference Index


Generated on Tue Apr 25 21:20:17 PDT 2017 by mcsh i7 v0.18.0.