Split email string from custom field before it is echoed on page - using PHP
<p>I'm used to using javascript to scramble emails but I just realised my email address on my wordpress system will echo as a full string. Therefor javascript can't help me this time.</p>

<p>I use javascript to break email addresses but I always manually split the email string.</p>

<p>See below my custom field php from wordpress which echos a email address.</p>

<pre><code>&lt;?php if (  get_post_meta($post-&gt;ID, 'E-mail Address', true) )

    echo get_post_meta($post-&gt;ID, 'E-mail Address', true);

?&gt;
</code></pre>

<p><br /></p>

<p>My question is it possible to split get_post_meta before it's actually echoed on the page? but then echo it in bits... like an array.</p>

<p>This is what I normally use below, so if it is possible to split the above get_post_meta?</p>

<pre><code>&lt;script type="text/javascript"&gt;
&lt;!-- 
// spam protected email
emailE=('david@' + 'example.com')
document.write('&lt;a title="E-mail David" href="mailto:' + emailE + '"&gt;' + emailE + '&lt;/a&gt;')
 //--&gt;
&lt;/script&gt;
</code></pre>

<hr />
