Answer the question
In order to leave comments, you need to log in
Parse a string in php into an array?
There are two options for the strings First Name Last Name1,2 and First Name Last Name
I need to get arrays of the form Array("name"=>"First Name Last Name", "num"=> "1,2") and Array ("name"=>"I. O. Surname", "num"=> "")
How can this be done in the simplest way?
Examples:
T. A. Kolpakova2,3
A. V. Chechushkov1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question