title |
description |
categories |
keywords |
menu |
function |
relatedFunctions |
aliases |
strings.ContainsNonSpace |
Reports whether a string contains any non-space characters as defined by Unicode’s White Space property. |
|
|
|
aliases |
returnType |
signatures |
|
bool |
strings.ContainsNonSpace STRING |
|
|
strings.Contains |
strings.ContainsAny |
strings.ContainsNonSpace |
strings.HasPrefix |
strings.HasSuffix |
|
/functions/strings.containsnonspace |
|
{{ 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.