Created on 12 October 2024, about 1 month ago

Problem/Motivation

There are cases when you want to know the length (or size) of a token's result, rather than the token's result itself. For example: To test for a non-zero string length of a token where that token may include inconvenient characters (like ' or ").

In such cases it would be useful to be able to replace the token with the strlen() of the token, rather than deal with whatever token happens to contain.

Proposed resolution

See attached PlugIn for this module, which does this.

For an example, consider the token:
[some:interesting:object]
the token modifier that uses this plugin would be:
[token-modifier:stringlength:some:interesting:object]

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom kmv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024