<div dir="ltr">Here is one idea<div>$opt       = \ParseArgs(implode (' ', array_slice ($m, 1)));</div><div><br></div><div>but I'm hoping there is some helper function built in?<br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 7 Feb 2022 at 14:56, Simon <<a href="mailto:nzskiwi@gmail.com">nzskiwi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm looking for something like this<div> $opt       = \ParseArgs($m);<br></div><div>(which doesn't return what I want) </div><div>as parseargs() expects a string</div><div><br></div><div>where $m is returned from the markup()  function,</div><div>and $opt is an array of the parameter names and values passed to a directive.</div><div><br></div><div>Any ideas?</div><div><br></div><div>tia</div><div><br></div><div>Simon</div></div>
</blockquote></div>