I have a line of text stored as a string, and I scan through it with a loop, when I reach a space I want to move the word before the space to the back of the line and shift everything forward. Is there a function in c which shifts strings to the left, or cuts off an amount of letters from the front?