- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for tableTrimSpace (0.13 sec)
-
src/cmd/vendor/rsc.io/markdown/table.go
return c == ' ' || c == '\t' || c == '\v' || c == '\f' } func tableTrimSpace(s string) string { i := 0 for i < len(s) && isTableSpace(s[i]) { i++ } j := len(s) for j > i && isTableSpace(s[j-1]) { j-- } return s[i:j] } func tableTrimOuter(row string) tableTrimmed { row = tableTrimSpace(row) if len(row) > 0 && row[0] == '|' { row = row[1:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 5.4K bytes - Viewed (0)