I have this String p="V755D888B154" and i want to split it to have this form
How can i do it ? thanks in advance
You can use String.split. Example:
If your string contains only numbers and strings this snippets workes
main fail is checking if given String (matcher.group()) consist Integer or not
In your comment you say the letters are fixed, so you if you're just trying to pull out the numbers you could always do something like this. I'll leave it up to you if you think this is a kluge.