|
9 | 9 | - [beforeLast](#beforelast) |
10 | 10 | - [between](#between) |
11 | 11 | - [betweenFirst](#betweenfirst) |
| 12 | +- [charAt](#charat) |
12 | 13 | - [camel](#camel) |
13 | 14 | - [contains](#contains) |
14 | 15 | - [containsAll](#containsall) |
|
29 | 30 | - [isJson](#isjson) |
30 | 31 | - [isUlid](#isulid) |
31 | 32 | - [isUuid](#isuuid) |
| 33 | +- [isMatch](#ismatch) |
32 | 34 | - [kebab](#kebab) |
33 | 35 | - [lcfirst](#lcfirst) |
34 | 36 | - [length](#length) |
@@ -167,6 +169,8 @@ Stringable.of('[a] bc [d]').betweenFirst('[', ']'); |
167 | 169 |
|
168 | 170 | // 'a' |
169 | 171 | ``` |
| 172 | +### charAt |
| 173 | +Not implemented |
170 | 174 | ### camel |
171 | 175 | The `camel` method converts the given string to `camelCase`: |
172 | 176 | ```js |
@@ -381,6 +385,8 @@ Stringable.of('Taylor').isUuid(); |
381 | 385 |
|
382 | 386 | // false |
383 | 387 | ``` |
| 388 | +### isMatch |
| 389 | +Not Implemented |
384 | 390 | ### kebab |
385 | 391 | The `kebab` method converts the given string to `kebab-case`: |
386 | 392 | ```js |
@@ -994,69 +1000,4 @@ The `value` method returns the underlying string value. |
994 | 1000 | Stringable.of('foo').value(); |
995 | 1001 |
|
996 | 1002 | // 'foo' |
997 | | -``` |
998 | | -## Strings |
999 | | -### Str.orderedUuid |
1000 | | -Not implemented |
1001 | | -### Str.preg_quote |
1002 | | -The `Str.preg_quote` method quote regular expression characters: |
1003 | | -```js |
1004 | | -Str.preg_quote('*RRRING* Hello?'); |
1005 | | - |
1006 | | -// '\*RRRING\* Hello\?' |
1007 | | -``` |
1008 | | -### Str.random |
1009 | | -The `Str.random` method generates a random string of the specified length: |
1010 | | -```js |
1011 | | -Str.random(40); |
1012 | | -``` |
1013 | | -### Str.createRandomStringsUsing |
1014 | | -The `Str.createRandomStringsUsing` method allows to intercept and control the random string generation. |
1015 | | -```js |
1016 | | -Str.createRandomStringsUsing((length) => `xyz|${length}`); |
1017 | | -Str.random(7); |
1018 | | - |
1019 | | -// 'xyz:7' |
1020 | | -``` |
1021 | | -### Str.createRandomStringsUsingSequence |
1022 | | -The `Str.createRandomStringsUsingSequence` method allows to set a sequence that will be used to generate random strings. |
1023 | | -```js |
1024 | | -Str.createRandomStringsUsingSequence({0: 'x', 2: 'y', 3: 'z'}); |
1025 | | - |
1026 | | -Str.random(); |
1027 | | -// 'x' |
1028 | | -Str.random(); |
1029 | | -// random String |
1030 | | -Str.random(); |
1031 | | -// 'y' |
1032 | | -``` |
1033 | | -### Str.createRandomStringsNormally |
1034 | | -The `Str.createRandomStringsNormally` method resets to default random string generator. |
1035 | | -```js |
1036 | | -Str.createRandomStringsUsing((length) => `xyz|${length}`); |
1037 | | -Str.createRandomStringsNormally(); |
1038 | | -Str.random(7); |
1039 | | - |
1040 | | -// random 7 characters |
1041 | | -``` |
1042 | | -### Str.substr |
1043 | | -The `Str.substr` method returns the portion of string specified by the start and length parameters: |
1044 | | -```js |
1045 | | -Str.substr('The Laravel Framework', 4, 7); |
1046 | | - |
1047 | | -// 'Laravel' |
1048 | | -``` |
1049 | | -### Str.uuid |
1050 | | -The `Str.uuid` method generates a UUID (version 4): |
1051 | | -```js |
1052 | | -Str.uuid(); |
1053 | | - |
1054 | | -// Stringable object |
1055 | | -``` |
1056 | | -### Str.ulid |
1057 | | -The `Str.ulid` method generates a ULID: |
1058 | | -```js |
1059 | | -Str.ulid(); |
1060 | | - |
1061 | | -// Stringable object |
1062 | 1003 | ``` |
0 commit comments