<div dir="ltr">Found a workaround to this by converting array to string using string_join() method.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 11:03 AM, Maheshwari, Ketan C. <span dir="ltr"><<a href="mailto:ketan@mcs.anl.gov" target="_blank">ketan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<div>
<div dir="ltr">Given a 2D array anarray[i][j], how can I use array[i] in an expression constructed via sprintf(), %s does not seem to work.
<div><br>
</div>
<div>Thanks,</div>
<div>Ketan</div>
</div>
</div>
</div></div></blockquote></div><br></div>