예제 #1
0
 /**
  * Removes a substring from a string, with both starting and ending positions specified, and returns the new
  * string.
  *
  * @param  int $startPos The position of the first character in the substring to be removed.
  * @param  int $endPos The position of the character that *follows* the last character in the substring to be
  * removed.
  *
  * @return CUStringObject The resulting string.
  */
 public function removeSubstringByRange($startPos, $endPos)
 {
     return CUString::removeSubstringByRange($this, $startPos, $endPos);
 }