StringBuffer:replace(start,stop,str)
Replace a portion of the StringBuffer between the start and stop positions with another string.
Example
sb = StringBuffer.new()
sb:append('testing')
sb:replace(3,4, 'x')Replace a portion of the StringBuffer between the start and stop positions with another string.
Example
sb = StringBuffer.new()
sb:append('testing')
sb:replace(3,4, 'x')