Skip to content

Commit 714bb5f

Browse files
authored
Update README.md
1 parent 961624e commit 714bb5f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ Format Postcodes in a consistent way
3535

3636
$formatted = Postcode::format('Sr51NA'); // SR51NA
3737
$formatted = Postcode::format('sR5 1NA'); // SR51NA
38-
```
38+
```
39+
40+
Pull a postcode from an address string
41+
```php
42+
<?php
43+
44+
$postcode = Postcode::findInString('1 Fake Street, Fake Vil, Fake Country, SR51NA');
45+
```

0 commit comments

Comments
 (0)