R
Rex
Hi I want to write a method which takes in a string of names
seperated by a whitespace and puts commas at each whitespace the last
name however, should have "and" before it.
Let me explain this with the help of an example:
The original string is: "Toby Grant Michelle Tom" the procedure should
return "Toby, Grant, Michelle and Tom"
Cheers!
Rex
seperated by a whitespace and puts commas at each whitespace the last
name however, should have "and" before it.
Let me explain this with the help of an example:
The original string is: "Toby Grant Michelle Tom" the procedure should
return "Toby, Grant, Michelle and Tom"
Cheers!
Rex