public String get ( String key ) { if ( key == null ) return null ; int idx = 0 , equal = 0 , amp = 0 ; while ( idx >= 0 && ( equal = tresp . indexOf ( ' ' , idx ) ) >= 0 ) { amp = tresp . indexOf ( ' ' , equal ) ; if ( key . regionMatches ( 0 , tresp , idx , equal - idx ) ) { return amp >= 0 ? tresp . substring ( equal + 1 , amp ) : tresp . substring ( equal + 1 ) ; } idx = amp + ( amp > 0 ? 1 : 0 ) ; } return null ; }
Get a value from a named TGuard Property