put _ between a small and capital character in a string
Anonymous
public static void main(String args[]) { String str = "HelloHowAreYouWelcome"; String result = str.replaceAll("()([A-Z])", "$1_$2"); System.out.println(result);
Check out your Company Bowl for anonymous work chats.