@@ -0,0 +1,583 @@
+import static org.junit.Assert.*;%0A%0Aimport org.junit.Test;%0Aimport org.opensextant.util.TextUtils;%0A%0Apublic class TestTextUtils %7B%0A%0A%09//@Test%0A%09public static void testRemoveLeft() %7B%0A%09%09int count = TextUtils.removeAnyLeft(%22-+*ABC%22, %22-%22).length();%0A%0A%09%09assert (count == 5); // Trim%0A%09%09%09%09%09%09%09%09// left%0A%09%09count = TextUtils.removeAnyLeft(%22-+*ABC%22, %22+-%22).length();%0A%09%09assert (count == 4); // Trim left%0A%0A%09%09count = TextUtils.removeAny(%22-+*ABC%22, %22+ - * (%5E%25%22).length();%0A%09%09assert (count == 3); // Remove any chars from string. yields ABC%0A%09%7D%0A%0A%09public static void main(String%5B%5D x) %7B%0A%09%09testRemoveLeft();%0A%09%7D%0A%0A%7D%0A

test utils better