- Issue created by @kmv
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.
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]
Active
1.0
Code