first
lib callCapy
function first() string function first(one : string) string function first(one : string, two : string) string function first(one : string, two : string, three : string) string function first(one : string, two : string, three : string, four : string) string
Description
first checks values in order. It ignores values that contain only whitespace.
Parameters
one : first value
two : second value
three : third value
four : fourth value
Return Values
The first nonblank value. Returns "" if no value is nonblank.
Example
Capy
print(first("", " ", "fallback", "other"), "\n")