3
I have the following problem: register a person informing the Name and CPF, in this format "João Medeiros - 123456789-00", and stored in a variable of type String. I used the method split() to "separate" Name and CPF. 
How do I store the Name in the variable String nome, and CPF in variable String CPF? 
Your solution worked out!!!
– Diego Kiyoshi