change: arguments and names of string-substitution functions.
change: update test
fix: conditional statement bug at buf_strnsub_range