Looking for c++ imp of string--list split/join/index
by Stephen Zepp · in Technical Issues · 09/27/2005 (8:59 am) · 2 replies
Is anyone aware of a standalone string/list implementation in c++ that's free from usage restrictions?
I'm looking for string to list/list to string functionality (split, join, list indexing) similar--if not exact--to TCL's list functionality, and/or similar to Python/Perl that can be placed in a commercial project free of restrictions.
Anyone have anything they've used before? I don't really want to hook into an external language implementation, but it's been 7+ years since I was attuned to string ops, so don't want to re-write from scratch either!
I'm looking for string to list/list to string functionality (split, join, list indexing) similar--if not exact--to TCL's list functionality, and/or similar to Python/Perl that can be placed in a commercial project free of restrictions.
Anyone have anything they've used before? I don't really want to hook into an external language implementation, but it's been 7+ years since I was attuned to string ops, so don't want to re-write from scratch either!
#2
09/27/2005 (10:49 am)
Actually it doesn't.. The closest is StringTokenizer, but it doesn't implement an indexable array of the tokens, just a stack-based (can pop off tokens, but not index them).
Torque 3D Owner Thomas Scott