Some string functions