how to remove hyphen from string +xslt
<p>how to remove hyphen from string like "19650512-0065" to "196505120065"</p>

<p>using this template : passing theID = </p>

<pre><code>   &lt;xsl:template name="unformatLFPartyID"&gt;
        &lt;xsl:param name="theID" select="." /&gt;

        &lt;xsl:variable name="idSuffix" select="string-length($theID) - 3" /&gt;

        &lt;xsl:choose&gt;
            &lt;xsl:when test="contains($theID,'-')"&gt;
                &lt;xsl:value-of select="substring($theID,0,$idSuffix)" /&gt;
                &lt;xsl:value-of select="substring($theID, $idSuffix)" /&gt;
            &lt;/xsl:when&gt;
            &lt;xsl:otherwise&gt;
                &lt;xsl:value-of select="$theID" /&gt;
            &lt;/xsl:otherwise&gt;
        &lt;/xsl:choose&gt;
    &lt;/xsl:template&gt; 
</code></pre>