[Qt-interest] how to shift the content in a line

Ravi_Kalepalli Ravi_Kalepalli at Satyam.com
Wed Feb 11 05:24:07 CET 2009


Hi

I have to append a string at the middle of the file. Does anybody can help me on this?

Example:  I have a "password.txt" file created by QFIle.
My password.txt file having the following data

Line No 1: BIRTHDAY
Line No 2: 1
Line No 3: PERSONAL
Line No 4: 1
Line No 5: XYZ
Line No 6: 1

Now I have to append a string at the middle (LINE No 4), how to shift the 1 and add the string.


Thanks and Regards

Ravi Kalepalli
Telephone: 080-66577808
Mobile: 9880724688
[cid:image001.gif at 01C98C2E.AE354240]


________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090211/4676b140/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8498 bytes
Desc: image001.gif
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090211/4676b140/attachment.gif 


More information about the Qt-interest-old mailing list