class StringHelper {

    public static String getLongest(String... strings) {
        String ret = null;
        for (String string : strings) {
            if (ret == null || (string != null && string.length() > ret.length())) {
                ret = string;
            }
        }
        return ret;
    }

    private  StringHelper();

}