Example #1
0
 /**
  * Adds characters to the end of a string to make it grow to a specified length and returns the new string.
  *
  * If the string is already of the targeted length, it's returned unmodified.
  *
  * @param  string $paddingString The string to be used for padding.
  * @param  int $newLength The length of the padded string.
  *
  * @return CUStringObject The padded string.
  */
 public function padEnd($paddingString, $newLength)
 {
     return CUString::padEnd($this, $paddingString, $newLength);
 }