padStartPads the str from the start to the specified length with the padChar.
str ( string ): The input string.length ( number ): The target length of the string.padChar ( string ): The character to pad with. Defaults to a space.string ): The padded string.