Rotate String

rotateString

Given a String str and an int howFar, rotate and return str rotated howFar spaces to the left.

Precondition: 0 <= howFar < str.length()

Precondition: str.length() > 0

rotateString( "Hello", 2 ) => "lloHe"
rotateString( "Hello", 3 ) => "loHel"
rotateString( "Hello", 1 ) => "elloH"
rotateString( "Hello", 0 ) => "Hello"
rotateString( "Howdy There", 7 ) => "hereHowdy T"