From a5171316b4335c69ca6ad946a37260b939fd7494 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 15 Oct 2025 07:52:53 -0500 Subject: rm old braindamaged code that I wrote long ago --- control.read.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 control.read.go (limited to 'control.read.go') 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:] -} -*/ -- cgit v1.2.3