photoprism/pkg/clean/numeric.go

11 lines
208 B
Go
Raw Permalink Normal View History

package clean
import (
"github.com/photoprism/photoprism/pkg/txt"
)
// Numeric removes non-numeric characters from a string and returns the result.
func Numeric(s string) string {
return txt.Numeric(s)
}