Goto Top

In Java, how do you convert a String to an array?

String myStringArray = "[491174, 414529, 414557]"; I just want this section of output 491174, 414529, and 414557. I tried a variety of approaches to convert strings to arrays and other stuff. I tried something, and I've included the code below.
This is the result:
This is the specific code that I have been working on a project and I have encountered an issue.
Please assist me if you are able.

Content-Key: 4812709988


Printed on: February 2, 2023 at 02:02 o'clock

Mitglied: 4400667902
Solution 4400667902 Nov 30, 2022, updated at Dec 01, 2022 at 00:19:27 (UTC)
Goto Top

Test: ...