Exemplo n.º 1
0
 /**
  * Adds characters to the start 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 padStart($paddingString, $newLength)
 {
     return CUString::padStart($this, $paddingString, $newLength);
 }