Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Java by starkom ( 18 years ago )
private boolean hasUpperCase( String str )
{
int strLen;
if ( str == null || ( strLen = str.length()) == 0 )
return false;
for ( int i = 0; i < strLen; i++ )
{
if (Character.isUpperCase( str.charAt( i ) ))
return true;
}
return false;
}
Revise this Paste