source:
trunk/src/org/expeditee/items/StringUtils.java@
282
Last change on this file since 282 was 154, checked in by , 16 years ago | |
---|---|
File size: 167 bytes |
Rev | Line | |
---|---|---|
[154] | 1 | package org.expeditee.items; |
2 | ||
3 | public class StringUtils { | |
4 | ||
5 | public static String convertNewLineChars(String string) { | |
6 | return string.replaceAll("\r\n|\r", "\n"); | |
7 | } | |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.