math-optim/algo/util.go

11 lines
209 B
Go
Raw Normal View History

// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package algo
import "strings"
func sanitiseFName(s string) string {
return strings.ReplaceAll(s, " ", "_")
}