title |
description |
categories |
menu |
keywords |
signature |
relatedfuncs |
strings.ContainsNonSpace |
Reports whether a string contains any non-space characters as defined by Unicode’s White Space property. |
|
|
|
strings.ContainsNonSpace STRING |
|
strings.Contains |
strings.ContainsAny |
|
{{ strings.ContainsNonSpace "\n" }} → false
{{ strings.ContainsNonSpace " " }} → false
{{ strings.ContainsNonSpace "\n abc" }} → true
Common white space characters include:
'\t', '\n', '\v', '\f', '\r', ' '
See the Unicode Character Database for a complete list.