How to replace "NULL"?


1.gh (12.4 KB)

1_re.gh (9.3 KB)

-Kevin

2 Likes

You can use replace nulls component.

Item access:

a = x
if not x:
    a = "-"

List access:

for i in range(len(x)):
    if not x[i]:
        x[i] = "-"
a = x

1 (1).gh (9.4 KB)

1 Like