length of %s:STRING%
Returns the length of a string.
set len to length of "hello"
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
length of <s>
%s:STRING% to lowercase
%s:STRING% to uppercase
%s:STRING% trimmed
substring of %s:STRING% from %start:INT% to %end:INT%
substring of %s:STRING% from %start:INT%
%s:STRING% replaced %old:STRING% with %new:STRING%
%s:STRING% split by %delim:STRING%
index of %needle:STRING% in %haystack:STRING%
%s:LIST% joined with %delim:STRING%
combined string [of] %s1:STRING% and %s2:STRING%