len optional default empty (no characters)The number of characters to generate, read as a whole number and capped at 1000. With no value, 0, a negative number or text that does not start with a digit the result is the empty string. Until November 2026 a non-numeric word (for example abc) caused an endless loop that exhausted memory, so on an install not updated since pass a literal positive whole number.
[{randomstring:abc}] {strlen:{randomstring:5000}}
{randomstring:8}
{randomstring:16}
{strlen:{randomstring:12}}
[{randomstring:}] [{randomstring:0}]
<div id="map-{randomstring:6}"></div>
{randomstring:40}