Hello I try to work with the %% (formatting operator)
In the documentation Aparajita say. "...which is useful with choice formats." In http://icu-project.org/apiref/icu4c/classChoiceFormat.html I found something about ChoiceFormat but don't know how to do it in Active4D. Has anyone a example for this? I need something like this. $format:="<tr><td>{0}</td><td>{1}</td><td>{2}</td></tr>" write($format %% ( "abc";"";"xyz" )) //-> "<tr><td>abc</td><td>-</td><td>xyz</td></tr>" The condition is: IF value is empty take "-" ELSE take the value. Regards, Oliver _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
