Implemented `strsubst(char*,char*,char*)` function

This function substitutes all instances of a string in a string with another string.

Also tweaked the STRING definition to allow $ so that variables can be used in strings.