mysql split value from one field to two

Posted by tsiger on Stack Overflow See other posts from Stack Overflow or by tsiger
Published on 2010-04-23T07:26:41Z Indexed on 2010/04/23 7:33 UTC
Read the original article Hit count: 179

Filed under:
|

Hello,

I 've got a table field (membername) which contains both the last name and the first name of users. Is it possible to split those into 2 fields (memberfirst - memberlast)? All the records have this format "Firstname Lastname" (without quotes and a space in between).

© Stack Overflow or respective owner

Related posts about mysql

Related posts about split