william2341
New Coder
Hi
I have this form of string array ["v:2", "a:3", "v:5", "s:4"] I need to sum similar keys also sort keys and output in this form
how I can do that ?
I have this form of string array ["v:2", "a:3", "v:5", "s:4"] I need to sum similar keys also sort keys and output in this form
Code:
a:3, s:4, v:7
how I can do that ?