diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 07:52:53 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 07:52:53 -0500 |
| commit | a5171316b4335c69ca6ad946a37260b939fd7494 (patch) | |
| tree | 922cb154a016d5e3d5c948f73c415a0db31fe649 /control.read.go | |
| parent | 769ab0c88b51a10124b7328b937fa35dad1c7cb4 (diff) | |
rm old braindamaged code that I wrote long ago
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:] -} -*/ |
