TeraScript-Talk: tokenize behavior
I've encountered some unexpected behavior from @TOKENIZE and I'm wondering if I'm simply not understanding it right, or if it's not doing what it should be doing. Given the string: foo,bar;bat,baz I would expect @TOKENIZE STR=foo,bar;bat,baz CDELIM=, RDELIM=; to behave exactly like @ARRAY VALUE=foo,bar;bat,baz CDELIM=, RDELIM=; but instead, I get the following array: foo | empty | empty bat | empty | baz This is happening in TeraScript Server Advanced 7.0.1 Mac OS X (32-bit) Thanks, -Ian To unsubscribe from this list, please send an email to lists...@terascript.com with unsubscribe terascript-talk in the body.
RE: TeraScript-Talk: tokenize behavior
It’s possible that it does exist in 6.x. I no longer have any instances of 6.x running, so I can’t immediately test. As noted in the post, @ARRAY works similarly. From: Wayne Irvine [mailto:wa...@byteserve.com.au] Sent: Monday, June 15, 2015 4:52 PM To: TeraScript-Talk@terascript.com Subject: Re: TeraScript-Talk: tokenize behavior I had just came across this bug (or a similar one) but am running 6.2.1 on OSX. Can you confirm that this bug exists in 6.2.1 also? Wayne Irvine On 16 Jun 2015, at 9:40 am, Robert Shubert rshub...@tronics.com mailto:rshub...@tronics.com wrote: That bug was fixed in 7.0.7 www.terascript.com/products/releases/server http://www.terascript.com/products/releases/server -Original Message- From: Ian Evans [mailto:ia...@ubookstore.com] Sent: Monday, June 15, 2015 3:05 PM To: TeraScript-Talk@terascript.com mailto:TeraScript-Talk@terascript.com Subject: TeraScript-Talk: tokenize behavior I've encountered some unexpected behavior from @TOKENIZE and I'm wondering if I'm simply not understanding it right, or if it's not doing what it should be doing. Given the string: foo,bar;bat,baz I would expect @TOKENIZE STR=foo,bar;bat,baz CDELIM=, RDELIM=; to behave exactly like @ARRAY VALUE=foo,bar;bat,baz CDELIM=, RDELIM=; but instead, I get the following array: foo | empty | empty bat | empty | baz This is happening in TeraScript Server Advanced 7.0.1 Mac OS X (32-bit) Thanks, -Ian To unsubscribe from this list, please send an email to lists...@terascript.com mailto:lists...@terascript.com with unsubscribe terascript-talk in the body. To unsubscribe from this list, please send an email to lists...@terascript.com mailto:lists...@terascript.com with unsubscribe terascript-talk in the body. Wayne Irvine w: http://www.byteserve.com.au/ p: +61 2 9960 6099 m: 0409 960 609 _ To unsubscribe from this list, please send an email to lists...@terascript.com mailto:lists...@terascript.com with unsubscribe terascript-talk in the body. To unsubscribe from this list, please send an email to lists...@terascript.com with unsubscribe terascript-talk in the body.
Re: TeraScript-Talk: tokenize behavior
I had just came across this bug (or a similar one) but am running 6.2.1 on OSX. Can you confirm that this bug exists in 6.2.1 also? Wayne Irvine On 16 Jun 2015, at 9:40 am, Robert Shubert rshub...@tronics.com wrote: That bug was fixed in 7.0.7 www.terascript.com/products/releases/server -Original Message- From: Ian Evans [mailto:ia...@ubookstore.com] Sent: Monday, June 15, 2015 3:05 PM To: TeraScript-Talk@terascript.com Subject: TeraScript-Talk: tokenize behavior I've encountered some unexpected behavior from @TOKENIZE and I'm wondering if I'm simply not understanding it right, or if it's not doing what it should be doing. Given the string: foo,bar;bat,baz I would expect @TOKENIZE STR=foo,bar;bat,baz CDELIM=, RDELIM=; to behave exactly like @ARRAY VALUE=foo,bar;bat,baz CDELIM=, RDELIM=; but instead, I get the following array: foo | empty | empty bat | empty | baz This is happening in TeraScript Server Advanced 7.0.1 Mac OS X (32-bit) Thanks, -Ian To unsubscribe from this list, please send an email to lists...@terascript.com with unsubscribe terascript-talk in the body. To unsubscribe from this list, please send an email to lists...@terascript.com with unsubscribe terascript-talk in the body. Wayne Irvine w: http://www.byteserve.com.au/ p: +61 2 9960 6099 m: 0409 960 609 To unsubscribe from this list, please send an email to lists...@terascript.com with unsubscribe terascript-talk in the body.