diff options
Diffstat (limited to 'control.read.go')
| -rw-r--r-- | control.read.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/control.read.go b/control.read.go deleted file mode 100644 index 672b99b..0000000 --- a/control.read.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -/* -func trimNonNumericPrefix(s string) string { - // Find the index of the first character that IS a digit. - firstDigitIndex := strings.IndexFunc(s, unicode.IsDigit) - - // If no digit is found, IndexFunc returns -1. - // In this case, the result should be an empty string. - if firstDigitIndex == -1 { - return "" - } - - // Return the substring starting from the first digit. - return s[firstDigitIndex:] -} -*/ |
