Re: How to dedect 4 consecutive space
- From: "Bart Cremers" <bcremers@xxxxxxxxx>
- Date: 31 Dec 2005 02:53:46 -0800
String s = " XXXXX XXXXXX";
String ts = s.replaceAll(" {4}", "\t");
Regards,
Bart
.
- Follow-Ups:
- Re: How to dedect 4 consecutive space
- From: elingtse
- Re: How to dedect 4 consecutive space
- Prev by Date: Re: Use of properties class
- Next by Date: Re: print("my name is {name}, and {age}-year old {gender}", name, age, gender);
- Previous by thread: Use of properties class
- Next by thread: Re: How to dedect 4 consecutive space
- Index(es):