source:
trunk/src/org/expeditee/items/StringUtils.java@
309
Last change on this file since 309 was 154, checked in by , 16 years ago | |
---|---|
File size: 167 bytes |
Line | |
---|---|
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.