Re: how to insert space in a string
- From: Mark Space <markspace@xxxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 10:09:11 -0700
Arne Vajhøj wrote:
Mark Space wrote:KC wrote:Hi all,
I m new in Java, Im not know well about Java syntax, for now, I need
to reform a string var, find out the newline char ( "\r\n" ) and
This bit here is easy in Java. I think split() is what you want.
String[] lines = in.split( "\n\r" );
I think you mean "\r\n" ...
Arne
Doh!
.
- References:
- how to insert space in a string
- From: KC
- Re: how to insert space in a string
- From: Mark Space
- Re: how to insert space in a string
- From: Arne Vajhøj
- how to insert space in a string
- Prev by Date: making swing application to launch from desktop
- Next by Date: Re: Java/TomCat How to Configure a Servlet contextPath
- Previous by thread: Re: how to insert space in a string
- Next by thread: Re: how to insert space in a string
- Index(es):