Re: What is "\\s+"



Allan Bruce schreef:
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+" ??

It is a regular expression which stands for `at least one whitespace character´, see http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html


HTH, H

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
.



Relevant Pages

  • Re: Please help me with when I can use my key field
    ... Please clarify. ... If you dont need information from the table then just ... > key field that is an Autonumber. ... > If not then how do I retrieve the record so I can use the ...
    (microsoft.public.access.queries)
  • Re: Who will fight for suspended ebay sellers?
    ... they'd rather we dont do business on their site which is fine with us. ... Please clarify - ... Is the above post the closure to your ...
    (alt.marketing.online.ebay)
  • Re: Installing Exchange 2003
    ... I dont actually know:) ... domain the users have e-mail adresses as user@xxxxxxxxxxxx - what need to ... Can you clarify if this is a new domain or you are adding this into your ... existing Domain / Exchange Org. ...
    (microsoft.public.exchange.admin)
  • Re: Identifying periods of High Volatility
    ... What do you mean by "construct" a bunch of ... I dont understand the relavance of the variables you ... Please clarify. ...
    (microsoft.public.sqlserver.datamining)