Re: What is "\\s+"
- From: Roedy Green <my_email_is_posted_on_my_website@xxxxxxxxxxxxxx>
- Date: Mon, 05 Dec 2005 19:01:11 GMT
On Mon, 5 Dec 2005 12:08:32 -0000, "Allan Bruce" <amb@xxxxxxx> wrote,
quoted or indirectly quoted someone who said :
>I am looking through some code which parses csv files, and this is being
>used to split the files. The variable is called separator, but I dont know
>what it is, can somebody clarify? What is "\\s+" ??
There are other tools if this one is not well documented. See
http://mindprod.com/jgloss/csv.html
That is a regex. It means one or more whitespace characters will be
considered a separator. Normally it is a single comma.
see http://mindprod.com/jgloss/regex.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
- References:
- What is "\\s+"
- From: Allan Bruce
- What is "\\s+"
- Prev by Date: Re: How do I sort a very large dataset (> 10 GB)?
- Next by Date: Re: If statement - whats going on here?
- Previous by thread: Re: What is "\\s+"
- Next by thread: Java & XML
- Index(es):