API Reference > Namespaces > OdBm Namespace > OdBm::Utils Namespace > OdBm::Utils::String Namespace > Functions > OdBm::Utils::String::split Function
OdBm::Utils::String::split Function
Syntax
C++
OdList<OdString> TB_COMMON_EXPORT split(const OdString& msg, OdChar sep = L'\n');

BmString.h

Parameters 
Description 
const OdString& msg 
[in] Input string to split.  
OdChar sep = L'\n' 
[in] Separator.  

List of strings aquired by splitting the original string.

Splits 'msg' to substrings using 'sep' as separator. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.