[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Creating a new tag



Albert REINER wrote:
> 
> Why don't you use perl's split? I think it should work easily in a way
> similar to this:
> 
> <:{my @s;
> @s = split("\n","%body");
> print "<table>\n";
> foreach (@s) {
>     print "<tr><td>" . join("</td><td>", split(",",$_)) . "</td></tr>\n";
> }
> print "</table>\n";
> }:>

Thanks, that works well.

Malcolm
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com