This commit is contained in:
Marc Beninca 2025-08-02 20:01:43 +02:00
parent 6815de4f22
commit 6e401a0867
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -58,9 +58,9 @@ function extract(string, type) {
}
}
function strip_first(string, target, tmp) {
function strip_first(string, sep, tmp) {
tmp = string
sub(target, "", tmp)
sub(sep, "", tmp)
return trim(tmp)
}