#what are %.1s in json ui

1 messages · Page 1 of 1 (latest)

sudden silo
#

Takes the first character of a text string
"$string": "hello"
('%.1s' * $string) = h

#

"$string": "home"
('%.3s' * $string) = hom