Updated basic string functions