mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 08:14:06 +02:00
Comment fix
This commit is contained in:
@@ -713,7 +713,7 @@ s('fòôbàř')->slice(3, -1); // 'bà'
|
|||||||
|
|
||||||
Splits the string with the provided regular expression, returning an
|
Splits the string with the provided regular expression, returning an
|
||||||
array of Stringy objects. An optional integer $limit will truncate the
|
array of Stringy objects. An optional integer $limit will truncate the
|
||||||
numbers of results returned.
|
results.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
s('foo,bar,baz')->split(',', 2); // ['foo', 'bar']
|
s('foo,bar,baz')->split(',', 2); // ['foo', 'bar']
|
||||||
|
@@ -1335,7 +1335,7 @@ class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
|||||||
/**
|
/**
|
||||||
* Splits the string with the provided regular expression, returning an
|
* Splits the string with the provided regular expression, returning an
|
||||||
* array of Stringy objects. An optional integer $limit will truncate the
|
* array of Stringy objects. An optional integer $limit will truncate the
|
||||||
* numbers of results returned.
|
* results.
|
||||||
*
|
*
|
||||||
* @param string $pattern The regex with which to split the string
|
* @param string $pattern The regex with which to split the string
|
||||||
* @param int $limit Optional maximum number of results to return
|
* @param int $limit Optional maximum number of results to return
|
||||||
|
Reference in New Issue
Block a user