Two methods missed in sys::StrBuf:
sys::StrBuf
getRange(Range)
Str
StrBuf
replace(Range, Str)
Those seem like they belong in StrBuf. If anyone wants to submit patch with implementations in Java and JS with tests, would be happy to add. Otherwise I can look to add them at some point.
Login or Signup to reply.
Yuri Strot Tue 4 Sep 2012
Two methods missed in
sys::StrBuf
:getRange(Range)
: StringBuilder.substring(int, int) in Java. Just not sure - should it returnStr
orStrBuf
?replace(Range, Str)
: StringBuilder.replace(int, int, String) in Java.brian Tue 4 Sep 2012
Those seem like they belong in StrBuf. If anyone wants to submit patch with implementations in Java and JS with tests, would be happy to add. Otherwise I can look to add them at some point.