Skip to content

Instantly share code, notes, and snippets.

@JxSun
Created April 22, 2018 15:48
Show Gist options
  • Save JxSun/789725de000d5480c3f19611b8497453 to your computer and use it in GitHub Desktop.
Save JxSun/789725de000d5480c3f19611b8497453 to your computer and use it in GitHub Desktop.
A StringBuilder example which does not break LoD
return new StringBuilder()
.append("example")
.delete(0, 2)
.insert(0, 's')
.toString();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment