Description
Adds an object to the context which is available from your templates with various methods for operating on string data.
Availabilty
Available as of blojsom 2.29.
Installation and Setup
In your global /WEB-INF/plugin.properties file, add the following line:
string-utilities=org.blojsom.plugin.common.StringUtilitiesPlugin
You may then add "string-utilities" to one of the flavor-based plugin chains. These plugin chains can be found in the individual blog's plugin.properties file. For example:
html.blojsom-plugin-chain=..., string-utilities
Context Attributes and Types
The following table describes the context attributes that are available and their associated type.
| Context key |
Input or Output |
Type |
Description |
| BLOJSOM_PLUGIN_STRING_UTILITIES |
Input |
org.blojsom.plugin.common.StringUtilities |
Various methods on this object exist to operate on string data. |