Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.goodString

Indicates whether a string is not empty or null.

Syntax

Parameters

str
Input. Specify the string to evaluate.

Returns

Returns true if string is not null and length is not zero (0), otherwise, returns false.

Example

The following code determines whether the cs.pagecachefolder property contains a value:

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.