R
Robert Johnson
Does anyone have an example of replacing only one occurrence of a
substring in a string. I have tried replace, but it replaces all
occurrences of the new string in the string. I only want to replace
the specified occurrence in the string (i.e substring(37, 10) - phone
number) with a new phone number. Am I making any sense here or do I
need to provide more detail ?
substring in a string. I have tried replace, but it replaces all
occurrences of the new string in the string. I only want to replace
the specified occurrence in the string (i.e substring(37, 10) - phone
number) with a new phone number. Am I making any sense here or do I
need to provide more detail ?