01-11-2007, 12:31 PM
it seems sPathfilename should be equal to nname,
butthe following program tells me that sPathfilename!=nname,
what is the trouble?
str m1="c:\aa\11.html"
str sPathfilename newname sPath
int nname=11
sPathfilename.getfilename(m1 1)
out sPathfilename
newname.from(nname ".html")
out newname
if sPathfilename!=nname
,out "very strange"
Regards,
Gear
butthe following program tells me that sPathfilename!=nname,
what is the trouble?
str m1="c:\aa\11.html"
str sPathfilename newname sPath
int nname=11
sPathfilename.getfilename(m1 1)
out sPathfilename
newname.from(nname ".html")
out newname
if sPathfilename!=nname
,out "very strange"
Regards,
Gear