Hello Sir, I need a Help in Inserting a Text with Line Feed at the End.
My Original Line is with following Text lines
"/Duplex true /Tumble false /ManualFeed false /MediaPosition 0 setpagedevice"+ Invisible LF Charater
I need to replace this with
"/Duplex false/PageSize [595 842] /Tumble false /ManualFeed false /MediaPosition 0 setpagedevice"+LF Character
But when I am using Replace command I am Getting CRLF at the end which is causing Error. I need only LF Character at the end.
Rest of the Texts in file will be as it is
My code is like this
Locate For Alltrim(POS)='%%Page: 1 1'
IF Found()
Skip
IF ALLTRIM(LEFT(POS,9))="<</Duplex"
Replace POS With '<</Duplex false/PageSize [595 842] /Tumble false /ManualFeed false /MediaPosition 0>> setpagedevice'
ENDIF
ENDIF
Kindly tell How can i insert only LF Character at the instead of CRLF
Thanks
Harsh