Adjust priority of slices

This commit is contained in:
Firepup Sixfifty 2024-08-16 01:00:12 +00:00
parent 2d6cdd3fc8
commit b2832c7427
Signed by: firepup650
SSH key fingerprint: SHA256:U0Zp8EhEe3CMqFSrC79CqatzaEiL4sjta80/RSX2XrY

View file

@ -24,7 +24,7 @@ const app = new App({
});
function extractNumber(txt) {
let array = ["\n", " ", "-"]
let array = ["-", " ", "\n"]
for (let i of array) {
if (txt.includes(i)) {
return txt.split(i)[0]