Problem reading numbers into an array cell (java)
Go to solution
Solved by madknight3,
It looked super complitcated put like that in the link, the problem still is my input is 22, so do i just put input.split('' '') ?
The split function can do some pretty complicated stuff. But on a basic level, that's all you need.
And I see, the underscore is a space (I missed that in your question). Yes, you can use split like that with the space character.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now