Some basic astring functions