<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>formatting query and identify results</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Hello,</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I have an application that I am working on</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. The parcel id is in a xx.xxx.xxx</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">.x format, however I need to change the format to xx-xxx-xxx-x for an external tax database application. I will not be updating the data, and there</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">fore I will need to make this change through code. I have worked on previous applications using java</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. For example I would use parcel = ( this.substring(0,2) +</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">-</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> + this.substring(3,9). However,</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">unless I am wrong,</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">mapserver does not appear to pass javascript</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> through templates</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">. </FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Is there a way that I can</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">convert the format of numbers directly in the template?</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Thanks</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">Mark Volz</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">GIS Specialist</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>