cesium-native 0.52.0
|
Options that control the behavior of splitOnCharacter. More...
#include <CesiumUtility/StringHelpers.h>
Public Attributes | |
bool | trimWhitespace {true} |
If this option is specified, whitespace (spaces and tabs) will be trimmed from each part before it is added to the result. | |
bool | omitEmptyParts {true} |
If this option is specified, empty parts will be omitted from the result. | |
Options that control the behavior of splitOnCharacter.
Definition at line 32 of file StringHelpers.h.
bool CesiumUtility::StringHelpers::SplitOptions::omitEmptyParts {true} |
If this option is specified, empty parts will be omitted from the result.
For example, splitting the string ",a,,b," on ',' would yield the parts "a" and "b" if this option is specified, but it would yield "", "a", "", "b", and "" if this option is not specified.
Definition at line 47 of file StringHelpers.h.
bool CesiumUtility::StringHelpers::SplitOptions::trimWhitespace {true} |
If this option is specified, whitespace (spaces and tabs) will be trimmed from each part before it is added to the result.
Definition at line 37 of file StringHelpers.h.