class StringSimpleFieldActions implements AtlasFieldAction {

    @AtlasActionProcessor
    public static String trimLeft(TrimLeft action, String input) {
        if (input == null || input.length() == 0) {
            return input;
        }

        int i = 0;
        while (i < input.length() && Character.isWhitespace(input.charAt(i))) {
            i++;
        }
        return input.substring(i);
    }

}