Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Sorting by last name goes wrong when having multiple words as last name

@henrywright

Moderator

substring_index() doesn’t quite seem to do the job.

How about something like:

substr( strstr( 'Robin van Persie', ' ' ), 1 )

Which would give you van Persie

Skip to toolbar