cancel
Showing results for 
Search instead for 
Did you mean: 

How to use substring in ITS(HTML file)

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

thorsten_domsalla
Active Participant
0 Kudos

Hello H.K.Hayath Basha,

please see the HTML Business documentation on <http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb5174aee11d189740000e8322d00/frameset.htm>:

string strSub (in string string, in int position, in int length)

With regards,

TJ

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai,

Thanks for the link.

Regards,

H.K.Hayath Basha.