I\'m new to Java. I\'ve a following string in Java that I need to parse and extract a value based on input KeyName. For e.g. if I pass K2, value should be V2.