pString Class
The pString object exposes functions to manipulate strings.
Item Index
Methods
Methods
sv
(
-
a
-
b
Selects a valid string among two.
Parameters:
-
a
StringThe first string.
-
b
StringThe second string.
Returns:
a if a is not null, undefined or an empty string once trimmed, otherwise b if b is not null, undefined or en empty string once trimmed, otherwise null.