28.01.2012, 09:50
Use conditional statement to check the string length by using strlen then concatenate using strcat.
Edit: The person above me^ gave you the function you were requesting for.
Edit: The person above me^ gave you the function you were requesting for.