Skip to content

Commit 5caa790

Browse files
committed
IHF: Str helpers readme info added.
1 parent c715c73 commit 5caa790

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Provides Laravel-specific and pure PHP helper functions.
3434
- [Json](#json)
3535
- [is_json](#is_json)
3636
37+
- [Str](#str)
38+
- [str_lower](#str_lower)
39+
- [str_upper](#str_upper)
40+
3741
## Db
3842
3943
#### `db_is_mysql()`
@@ -115,3 +119,23 @@ $decoded = is_json('{"foo":1,"bar":2,"baz":3}', true);
115119
116120
// ['foo' => 1, 'bar' => 2, 'baz' => 3]
117121
```
122+
123+
## Str
124+
125+
#### `str_lower()`
126+
127+
Returns string in lowercase:
128+
```php
129+
$lower = str_lower('TeSt');
130+
131+
// test
132+
```
133+
134+
#### `str_upper()`
135+
136+
Returns string in uppercase:
137+
```php
138+
$upper = str_upper('TeSt');
139+
140+
// TEST
141+
```

0 commit comments

Comments
 (0)