Say I've got an existing constant string:
private final static String LOREM_IPSUM = "Lorem Ipsum";
Is there a way in Eclipse to quickly extract a substring of this as another constant such that I could end up with something like:
private final static String LOREM = "Lorem";
private final static String IPSUM = "Ipsum";
private final static String LOREM_IPSUM = LOREM + " " + IPSUM;
In this particular case, two refactorings (one for LOREM and one for IPSUM) would suffice.