@@ -0,0 +1,540 @@
+package utils;%0A%0A/**%0A * Created by emma on 13/04/2016.%0A *%0A * @author emma%0A *         %3Cp%3E%0A *         Simple utility class to tidy up user entered strings before saving to database%0A */%0Apublic class StringProcessingService %7B%0A%0A    public static String tidy_curator_entered_string(String string) %7B%0A        String newString = string.trim();%0A        String newline = System.getProperty(%22line.separator%22);%0A%0A        if (newString.contains(newline)) %7B%0A            newString = newString.replace(newline, %22%22);%0A        %7D%0A        return newString;%0A    %7D%0A%7D

Move string tidy method to simple utility class