How to insert a string at particular position in a file
<p>I have a problem that I have a file in sdcard in which the first line contains a string as "ftypmp4", starting from 5th index of the file, I want to replace that string with a new string as "sanat12" with same length. How can we achieve this? Please suggest me the right solution.</p>

<p>Thanks in advance.</p>
