ArrayList list=new ArrayList<>();
list.add("A");
list.add("B");
list.add("C");
list.add("D");
String[] stringArr=TextUtils.join(",",list).split(",");
ArrayList list=new ArrayList<>();
list.add("A");
list.add("B");
list.add("C");
list.add("D");
String[] stringArr=TextUtils.join(",",list).split(",");
For further actions, you may consider blocking this person and/or reporting abuse
Use any Linode offering to create something for the DEV x Linode Hackathon 2022. A variety of prizes are up for grabs, inculding $1,000 USD. π
β Join the Hackathon <-
Thomas KΓΌnneth -
Ethan -
Tristan Elliott -
Vincent Tsen -
Once suspended, sandeepkamboj12 will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, sandeepkamboj12 will be able to comment and publish posts again.
Once unpublished, all posts by sandeepkamboj12 will become hidden and only accessible to themselves.
If sandeepkamboj12 is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Sandeep kamboj.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community π©βπ»π¨βπ» safe. Here is what you can do to flag sandeepkamboj12:
Unflagging sandeepkamboj12 will restore default visibility to their posts.
Top comments (1)
Isn't it more performant to use the buildin method
toArray()
. So the code would be: