Sunday, January 14, 2007

Dont forget to check if variable is valid before slicing object

#if $cutie.comment
$cutie.comment[0:100]
#end if

Dont forget to put if exists
else you will get unscriptable object error

No comments: