class SeparatorUtil {

    public static String getSeparator(String targetString) {
        return mayContainComma(targetString)
            .or(() -> mayContainSemicolon(targetString))
            .or(() -> mayContainColon(targetString))
            .orElse("");
    }

}