From d13d223ddb7f5298910148fa56a3ded825644d72 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Wed, 10 Jun 2020 01:30:14 +0200 Subject: [PATCH] add strlen to ruler --- controllers/internals/ExpressionProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/internals/ExpressionProvider.php b/controllers/internals/ExpressionProvider.php index b02f070..396042d 100644 --- a/controllers/internals/ExpressionProvider.php +++ b/controllers/internals/ExpressionProvider.php @@ -33,6 +33,7 @@ class ExpressionProvider implements ExpressionFunctionProviderInterface ExpressionFunction::fromPhp('mb_strtolower', 'lower'), ExpressionFunction::fromPhp('mb_strtoupper', 'upper'), ExpressionFunction::fromPhp('mb_substr', 'substr'), + ExpressionFunction::fromPhp('mb_strlen', 'strlen'), ExpressionFunction::fromPhp('abs', 'abs'), ExpressionFunction::fromPhp('strtotime', 'date'), ];