Skip to Content
0
Former Member
Nov 29, 2007 at 10:46 AM

How to use substring in ITS(HTML file)

20 Views

Hai,

I am modifying d_searchhelp.html file in agate. I want a use a substring function this file. So I used the below code.

newclassname=~searchhelpcontrolname;

oldclassname=newclassname.substring(0,8);

^ ^ ^

This is the error i got when i use this HTML file in searchhelp.

@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,42): error : syntax error : '('

@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,44): error : syntax error : ','

@ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,46): error : syntax error : ')'

Please let me know how to use substring.

Thanks & Regards,

H.K.Hayath Basha