NULLTOKENS are when you have a blank cell as a result of the tokenize.
for example if you tokenize "one,two,,four" on comma:
if you have NULLTOKENS = true then the resulting array will have 4
elements with the 3rd being
if you have NULLTOKENS = false then the resulting array will have 3
elements, skipping the 3rd
The NULLTOKENS attribute can be used with this tag to recognize empty
tokens. It may be set to true to process empty tokens, or, false to
skip them. If NULLTOKENS is ommitted, the behaviour assumes the value
of false.
this can be bad if you are loading an array with 4 elements and in the
loop one of them has a null token, you would get a crash
hope this helps
On May 4, 2009, at 12:20 PM, Fogelson, Steve wrote:
I looked in the on meta tag section of the developer site and do not
find an explanation of “NULLTOKENS” in <@TOKENIZE VALUE="" CHARS=""
NULLTOKENS="">
Could someone tell me what it is used for and how it is used?
Thanks
Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
Ben Johansen
http://www.webspinr.com
[email protected]
Phone: 360-597-3372
Mobile: 360-600-7775
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf