SHARE
TWEET

Removing chars like a pro

a guest Mar 24th, 2013 1,185 Never
  1. //this removes the last three characters of "chord"
  2. String noteName = new StringBuffer(new StringBuffer(chord).reverse().toString().substring(3)).reverse().toString();
RAW Paste Data
Top