Created
February 1, 2013 00:56
-
-
Save z3a/4688236 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String response = "Hello 1,2345 10 lorem ipsum 12 dol 34 sit 093 at bla 8749"; | |
void setup(){ | |
String[][] test = matchAll(response, "([1-4])"); | |
if (test != null){ | |
for (int i = 0; i<test.length; i++){ | |
println("text: "+test[i][1]); | |
} | |
} else { | |
println("null"); | |
} | |
} | |
void draw(){ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment