If the actual length of the result string exceeds the maximum for the return type, an error occurs. The result is truncated
to the maximum string size allowed.
The behavior of this function is identical to that of the REPEAT function.
This function supports NCHAR inputs and/or outputs.