* Graham * XTMEDIA use {_$listfile|} in your pages <title> as that holds the files name
ie:
<title>{_$listfile|DEFAULT TITLE HERE}</title>
Copy code

or to do exactly what you asked use an xtscript with a str_ireplace as onedc says
<!--parser:xtscript-->
get_or_default listfile;DEFAULT TITLE
var $spc=call chr $val=32
var $title=call str_ireplace $subject=$listfile;$search=gambar_;replace= image$spc
<!--/parser:xtscript-->
<title>{_$$title|}</title>

Copy code
2015-01-26 11:53 (edited 2015-01-26 12:12 by Graham ) · (0)

Online: Guests: 1