[API] string functions