OpenersNotesSection(Spacer1)Details

This message is generated when overlapping position specifications are encountered in the third argument of (RefLink[StringReplacePart, paclet:ref/StringReplacePart]).

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[StringReplacePart::ovlp].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

An error occurs because the position specifications refer to overlapping ranges in the string:

StringReplacePart["123456789","x",{{4,5},{5,6}}]

This shows valid arguments in (RefLink[StringReplacePart, paclet:ref/StringReplacePart]):

StringReplacePart["123456789","x",{{4,5},{7,8}}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[StringReplacePart, paclet:ref/StringReplacePart])}})}})