Saturday 26 October 2019

Separating elements in array by colons instead of commas in java

In java, by default elements in an array are separated by commas. Is there anyway to make this a variable character. In some instances I want elements separated by commas, but in other instances, I want them separated by colons. Is there anyway to achieve this behavior?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...