cutFirtWord cleaned

This commit is contained in:
ed 2020-01-04 16:19:19 +01:00
parent 08764c8294
commit dd3b4159ec
1 changed files with 0 additions and 9 deletions

View File

@ -60,15 +60,6 @@ func writeHTML(title string, body string, links...hlink) {
}
func cutFirstWord(w string) string {
/*
var c int
for c = 0; c < len(w); c++ {
if (string(w[c]) == " ") {
break
}
}
return w[c+1:]
*/
splitLine := strings.Split(w, " ")
return strings.Join(splitLine[1:], " ")
}