finished stringfunctions.c