public boolean textContains ( String value , String expectedSubstring ) { boolean result = false ; if ( value != null ) { result = value . contains ( expectedSubstring ) ; } return result ; }
Checks whether values contains a specific sub string .