Question for SAIL documentation

Hello,

I'm Following the Sail Design documentation, but I'm not experiecing what it says:

doing so and inserting my name (Marco Cuva), it count 10 character (9 + 1 blank space)

=load(
local!name,
a!textField(
label: "Name",
instructions: "Your name has " & len(local!name) & " characters",
value: local!name,
saveInto: local!name
)
)

doing in this other way the guide say that it should count only 9 character (remove the balnk space) but in realty it count 10 character; why?

=load(
local!name,
a!textField(
label: "Name",
instructions: "Your name has " & len(local!name) & " characters",
refreshAfter: "KEYPRESS",
value: local!name,
saveInto: a!save(local!name, trim(save!value))
)
)

OriginalPostID-190053

OriginalPostID-190053

  Discussion posts and replies are publicly visible