Moises,
I provided you with sample code wich you've to adapt to your requirements/environment.
Anyway, you may substitute 'lcStr' with the name of your string with content of mytext.txt or add at the beginning of the code.
lcStr = FILETOSTR("mytext.txt")
>Thanks
>
> I've tested your program
>
>" lcStr not found"
>
> please help me
>
> Moses
--sb--