Skip to content

Commit 0809390

Browse files
committed
Add documentation about VectorStrings
1 parent 95ffa02 commit 0809390

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/chaiscript/extras/string_methods.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
* string::split(string token)
1010
* string::toLowerCase()
1111
* string::toUpperCase()
12+
*
13+
* To allow selecting indexes from split(), ensure VectorString type is added:
14+
*
15+
* chai.add(chaiscript::bootstrap::standard_library::vector_type<std::vector<std::string>>("VectorString"));
1216
*/
1317
#include <algorithm>
1418
#include <string>

0 commit comments

Comments
 (0)