Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Dec 19, 2023
1 parent f949a55 commit 9540c6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func SanitizeHexString(hex string) string {
return hex
}

// StripFromString strips the input string starting from the first occurrence of the substring.
func StripFromString(input, substring string) string {
index := strings.Index(input, substring)
if index == -1 {
Expand Down

0 comments on commit 9540c6f

Please sign in to comment.