mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-14 17:24:29 +02:00
@@ -1242,9 +1242,7 @@ class Stringy implements Countable, IteratorAggregate, ArrayAccess
|
|||||||
$length = $end - $start;
|
$length = $end - $start;
|
||||||
}
|
}
|
||||||
|
|
||||||
$str = \mb_substr($this->str, $start, $length, $this->encoding);
|
return $this->substr($start, $length);
|
||||||
|
|
||||||
return static::create($str, $this->encoding);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user