I have three String that I want to format:
var a= "James"
var b= "Stephen Curry"
var c= "Kobe"
I'd like to comine them corresponding to their ages in one string. So it will look like this:
James 33
Stephen Curry 30
Kobe 40
Although the length of the name is different, but I want the ages align to right. Is there a way to form this string?
Thanks