Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Zoho Flow to check for blank value
int ifStringIsBlankOneElseZero(string toCheck)
// This snippet:
// Unfortunately, isBlank() is not reliable.
if(isNull(toCheck) || isEmpty(toCheck))
// empty string, string of just spaces
return 1;
// any text or number (including zero)
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment