Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

blankstrp

blankstrp( 
t_string 
) 
=> t / nil

Description

Checks if the given string is empty or has blank space characters only and returns true. If there are non-space characters blankstrp returns nil.

Arguments

t_string

A string.

Value Returned

t

If t_string is blank or is an empty string.

nil

If there are non-space characters.

Examples

blankstrp( "")
=> t
blankstrp( " ")
=> t
blankstrp( "a string")
=> nil

Related Topics

String Functions


Return to top
 ⠀
X