コード例 #1
0
ファイル: String.php プロジェクト: Viacomino/sutra
 /**
  * Finds the last position of the search value in the string.
  *
  * @param string  $needle The string to search for.
  * @param integer $offset The character position to start searching from.
  *
  * @return integer The character position or `false`.
  */
 public function lastIndexOf($needle, $offset = 0)
 {
     return static::$helper->lastIndexOf($this->string, $needle, $offset);
 }