-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If I use Wild guess: The If that's the case the following template should work: And the reason the And now I've just tested this and it's indeed the case. Now, I can't think of a case where I would want Should I file a bug for this? |
Beta Was this translation helpful? Give feedback.

If I use
(p "" str)over(s str)the template works fine.Wild guess: The
selement will bindNAMEin(str NAME)tonilinstead of""when the field is empty. This means that(capitalize str)in my template will error out before I get totype anything.
If that's the case the following template should work:
And the reason the
make-stringcalls inexample2works isbecause
nilis the empty list so(length nil)is 0 and nota failure.
And now I've just tested this and it's indeed the case.
Now, I can't think of a case where I would want
(s NAME)tobind
NAMEtonilover""when the field is empty and it'sa source of confusion and b…