Fluid icon indicating copy to clipboard operation
Fluid copied to clipboard

f:length ViewHelper

Open s2b opened this issue 6 months ago • 0 comments

A new <f:length> ViewHelper should be added to Fluid, which calculates the length of a string.

Arguments:

  • string $value

See also the php mb_strlen() function.

Examples:

<f:variable name="length" value="{f:length(value: 'my string')}" />
<f:variable name="length" value="{myVariable -> f:length()}" />

s2b avatar Jun 26 '25 09:06 s2b