Displaying 1 result from an estimated 1 matches for "1_field2ndtry_0000".
Did you mean:
0_field2ndtry_0000
2011 Dec 02
3
find and replace string
...the second occurrence of a symbol and replace the symbol after it
For example my strings look like
sta_+1+0_field2ndtry_0000$01.cfg
I want to find the digit that comes after the second +, in that case is zero
and then over a loop create the strings below
sta_+1+0_field2ndtry_0000$01.cfg
sta_+1+1_field2ndtry_0000$01.cfg
sta_+1+2_field2ndtry_0000$01.cfg
sta_+1+3_field2ndtry_0000$01.cfg
and so on..
I have already tried strsplit but this will make things more complex...
Could you please help me with that?
B.R
Alex
[[alternative HTML version deleted]]