Just look at the reference, you see all the available variants, no English required.
The one used in my example was this one: string& replace ( size_t pos1, size_t n1, constchar* s );
The first argument (2) is the start index of the string to be replaced, the second one (1) is its length and the last one is the string you want to replace it with ("yourString").
If you use iterators, you can specify the beginning and end instead: s.replace(s.begin()+2,s.begin()+3,"yourString");
This does exactly the same as the first example.
i just thought that the second number is where finish the place where i want to replace,but now i understood that it i was the lenght(size) of the string which i will put.