View Single Post
Old 02-26-2013, 08:24 PM   PM User | #1
abell12
New Coder

 
Join Date: Mar 2012
Posts: 31
Thanks: 1
Thanked 1 Time in 1 Post
abell12 is an unknown quantity at this point
What does this delimiter do

I have this line in my java code. Can you explain the regular expression and what it does?

Code:
scanner.useDelimiter("[ ]*(,)[ ]*");
Thanks in advance
abell12 is offline   Reply With Quote