<commit_before>/**
 * Gets the substring after the first occurrence of a separator.
 * 
 * @static
 * @param {string} string - the String to get a substring from, may be null
 * @param {string} separator - the String to search for, may be null
 * @returns {string} the substring after the first occurrence of the separator
 * 
 * @example
 * 
 * after(null, *)      = null
 * after("", *)        = ""
 * after(*, null)      = ""
 * after("abc", "a")   = "bc"
 * after("abcba", "b") = "cba"
 * after("abc", "c")   = ""
 * after("abc", "d")   = ""
 * after("abc", "")    = "abc"
 */
module.exports = function after(string, separator) {
    if (string == null) {
        return null;
    }
    var pos = string.indexOf(separator);
    if (pos !== -1) {
        return string.slice(start + separator.length);
    }
    return '';
};<commit_msg>Update after.js<commit_after>/**
 * Gets the substring after the first occurrence of a separator.
 * 
 * @static
 * @param {string} string - the String to get a substring from, may be null
 * @param {string} separator - the String to search for, may be null
 * @returns {string} the substring after the first occurrence of the separator
 * 
 * @example
 * 
 * after(null, *)      = null
 * after("", *)        = ""
 * after(*, null)      = ""
 * after("abc", "a")   = "bc"
 * after("abcba", "b") = "cba"
 * after("abc", "c")   = ""
 * after("abc", "d")   = ""
 * after("abc", "")    = "abc"
 */
module.exports = function after(string, separator) {
    if (string == null) {
        return null;
    }
    var pos = string.indexOf(separator);
    if (pos !== -1) {
        return string.substring(start + separator.length);
    }
    return '';
};
{'fraction_non_alphanumeric': 0.17734282325029657, 'fraction_numerical': 0.0011862396204033216, 'mean_word_length': 2.691466083150985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '724771', 'n_tokens_mistral': 550, 'n_tokens_neox': 527, 'n_words': 169}