PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Peter Kahl  >  Extract Name from Email Address  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/plain
Description: Readme
Class: Extract Name from Email Address
Extract person name from e-mail address header
Author: By
Last change: Make static

Made static. Renamed method get_name() to getName().
Date: 7 hours ago
Size: 353 bytes
 

Contents

Class file image Download
# Name From Email String

Extracts person's real name from an email (or any) string.

This package replaces an earlier version found at <https://github.com/peterkahl/name-extractor>.

# Usage

```php
require __DIR__.'/namefromstring.class.php';

$email = 'johnbutterworth@genius.whatever';

echo nameFromString::getName($email); # John Butterworth

```