more testing

This commit is contained in:
2024-05-14 15:44:57 +02:00
parent 74642bd1f4
commit f07e560322
2 changed files with 61 additions and 22 deletions

View File

@ -14,11 +14,13 @@ BuboUtils {
*cleanSampleName {
arg str;
var good_string;
if (str == nil, { ^nil });
^str.asList.collect({
good_string = str.asList.collect({
|char|
if (char.isAlpha, char, "")
}).join
if (char.isAlphaNum, char, "")
}).join;
^good_string
}
*cleanSampleIndex {