Page 1 of 1

Replace caracters in a file

Posted: Tue Apr 25, 2023 9:00 pm
by papiosaur
Hello,

i'm creating a gui to create a Dosdrivers but if i use Echo command from system i can't add (" ") to the file created.

I've placed (' ') instead of (" ") and now i would like to replace (' ') by (" ").

sorry, i didn't manipulate files...

Thanks for your help.

Re: Replace caracters in a file

Posted: Tue Apr 25, 2023 10:05 pm
by plouf
you have to read manual a little bit more, and experiment with examples ;)

in hollywood in order to add quotes and double quotes to a string, which later will be written to a file you have to use \"

exactly as explained in manual ->https://www.hollywood-mal.com/docs/html ... tring.html
; this will print Hello, "Mr. John Doe"!
DebugPrint("Hello, \"Mr. John Doe\"!")

Re: Replace caracters in a file

Posted: Thu Apr 27, 2023 2:38 pm
by Juan Carlos
Thank you I don't remember this trick to use the " " without problems with the instruction. :D

Re: Replace caracters in a file

Posted: Mon May 01, 2023 9:00 pm
by papiosaur
Thanks a lot plouf!