All functions that operate on strings will operate on subtypes of string as well.
However, the consequences are undefined if a character is inserted into a string for which the element type of the string does not include that character.