Thank you for the quick response. But in my case "INCEL" could be anything, it was named the orientation and when I measur on field with instrument I can input any name for orientation. if you look to the entire file you vill see for the kod "11KI" orientation can have any name so I need an algorithm that will separate the data that is read from the file based on the length and write it into another file in specific places.
I need to get file (in attachment) for first "11KI" code;[ATTACH]3696[/ATTACH]
whware first 4 lines are not inportant and you can see that line no. 5 i get from my line in .sdr file wit "11KI" code
line 6,7 are my input text
line 8, 9 i get from "02TP" code (1.65 ~ 1.60)
line 10 is standard == 0.0
line 11,12,13,14,15 ... i get from code "09F1" and represent mesured points
wheare C is my input for specific point and i get that also based on the length of the string beginning
SImple for this string:
"CommittedC0der" i ned to get two strings
"Committed" and "C0der" based on string lenght :D