Have you tried the %IsDefined method?
set a={}
if a.%IsDefined("test") write "defined"
set a.tset=1
if a.%IsDefined("test") write "defined"
Certifications & Credly badges:
Ben has no Certifications & Credly badges yet.
Global Masters badges:
Ben has no Global Masters badges yet.
Followers:
Ben has no followers yet.
Following:
Ben has not followed anybody yet.
$ZSTRIP will delete repeating characters
set newstring=$ZSTRIP(oldstring,"=W") // for whitespace
set newstring=$ZSTRIP(oldstring,"="," ") // for only spaces