fred_gaou:
--------------------------------------------------------------------------------
Thank you very much vbr.

I use your js code now. It does the job very well :-D
--------------------------------------------------------------------------------


I'm glad I could help; 
Not sure, if it applies for the your files, but you should note the
_*limited unicode support*_ of the scripting interface. Basically only
the characters in the _*national codepage*_ are supported; If you use
e.g. the language setting in Windows - French; only its characters are
supported; if there were say greek characters in your (unicode) file, the script
would return "?"s instead.
I hope, it is not an issue for you, but just wanted to mention this, before it
can cause some harm.
(Otherwise some workarounds are possible, but the ones I could find are quite
messy...)

vbr

-- 
<http://forum.pspad.com/read.php?2,48923,48934>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem