func CutText(str string, maxWidth int) string {
	ln := xs.Len(str)
	if ln <= maxWidth {
		return str
	}

	return xs.Slice(str, 0, maxWidth)
}
func CutText(str string, maxWidth int) string {
	ln := xs.Len(str)
	if ln <= maxWidth {
		return str
	}

	return xs.Slice(str, 0, maxWidth)
}
func CutText ( str string , maxWidth int ) string { ln := xs . Len ( str ) if ln <= maxWidth { return str } return xs . Slice ( str , 0 , maxWidth ) }
// CutText makes a text no longer than maxWidth
CutText makes a text no longer than maxWidth