import static StringUtils.*;
public class Example {
public static void main(String[] args) {
String email = "[email protected]";
System.out.println("Email valid: " + isValidEmail(email));
String input = "hello-world-example";
System.out.println("Camel case: " + toCamelCase(input));
String text = "This is a very long string that needs truncation";
System.out.println("Truncated: " + truncate(text, 20, "..."));
String number = "42";
System.out.println("Padded: " + padLeft(number, 5, '0'));
}
}