StringHelperAppendWithSpaceIfNotEmpty Method (StringBuilder, String)
|
Appends toAdd (with a separating space) to stringBuilder, if toAdd is not empty.
Namespace:
Bootstrap.A11y.Helpers
Assembly:
Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static bool AppendWithSpaceIfNotEmpty(
StringBuilder stringBuilder,
string toAdd
)
Parameters
- stringBuilder
- Type: System.TextStringBuilder
The buffer to append to. - toAdd
- Type: SystemString
The string to append if not empty.
Return Value
Type:
BooleanWhether
toAdd had contents.
See Also