On 09/06/2011 11:11 AM, Julien Rioux wrote:
On 06/09/2011 4:49 PM, Jean-Marc Lasgouttes wrote:
Le 06/09/11 16:44, Julien Rioux a écrit :
Are there quick ways to join a vector into a single string and vice
versa, à la python?

string = ','.join(list)
list = string.split(',')

A bit more verbose, but getVectorFromString in lstrings.h is what you want.

JMarc


Thanks, will try.

And getStringFromVector will let you go the other way. You can specify the delimiter, etc.

rh


Reply via email to