| java Programming Glossary: replacementstringAndroid Bug? : String.substring(5).replace(?œâ€? ?œâ€? // empty string http://stackoverflow.com/questions/16475317/android-bug-string-substring5-replace-empty-string  return the original string untouched. return this String replacementString replacement.toString The empty target matches at the start and.. if targetLength 0 int resultLength count 2 replacementString.length StringBuilder result new StringBuilder resultLength result.append.. result new StringBuilder resultLength result.append replacementString for int i offset i count i  original bug for int i offset i.. 
 |