Remove unused splitSentences function from utils.js

6af3f2ee7e0c01dc4d2de110410ba98a13b34b44

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +0 -4Ignore whitespace
public/scripts/utils.js+0 -4
@@ -1015,10 +1015,6 @@ export function splitRecursive(input, length, delimiters = ['\n\n', '\n', ' ', '
10151015 return result;
10161016}
10171017
1018-export function splitSentences(input, length) {
1019- var pattRegex = new RegExp(`^[\\s\\S]{${Math.floor(length / 2)},${length}}[.!?,]{1}|^[\\s\\S]{1,${length}}$|^[\\s\\S]{1,${length}}`);
1020-}
1021-
10221018/**
10231019 * Checks if a string is a valid data URL.
10241020 * @param {string} str The string to check.