Welcome Guest, Not a member yet? Register   Sign In
Name splitter library?
#1

Hello people!

I just want to know if there's an existing PHP library file (for CodeIgniter or maybe a vanilla PHP) that splits a full name into parts:

i.e:

Bond, James E.

returns

PHP Code:
array(
 
   [first_name] => 'James',
 
   [last_name] => 'Bond',
 
   [middle] => 'E.'


I found this library called PHP Name Parser (https://github.com/joshfraser/PHP-Name-Parser), but it doesn't fit to my requirements. It actually works but the "LastName, FirstName MiddleName" pattern don't work with the library.


Thanks in advance.. Hope someone can help me.
Reply


Messages In This Thread
Name splitter library? - by kaitenz - 08-09-2018, 04:18 AM
RE: Name splitter library? - by Pertti - 08-09-2018, 04:52 AM
RE: Name splitter library? - by kaitenz - 08-09-2018, 08:56 PM
RE: Name splitter library? - by Pertti - 08-10-2018, 12:59 AM
RE: Name splitter library? - by kaitenz - 08-10-2018, 10:19 PM
RE: Name splitter library? - by John_Betong - 08-10-2018, 11:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB