PhenixID

String Trim

Version: 1.3

Category: Process

Extended Category: String

Action Package: Standard Actions

Description

Leading and trailing white space will be removed, if any, from the given session attribute value. Using configuration any optional character can be trimmed instead of white space.

ParameterDescriptionExample
Session Attribute(s)[Mandatory]
Enter one or more session attribute names which values will be trimmed. Multiple session attribute names are separated with a comma. An asterisk (“*”) will match all attributes.
Supports SESSION() and GLOBAL().
No default value.
fullname
Trim character[Optional]
The character that should be trimmed from the start and the end of the attribute value. Leave blank to trim space.
+
Session Attribute for Status[Optional]
Enter a session attribute name for ‘Status’. The ‘Status’ attribute value indicates SUCCESS or ERROR. Leave blank to not add any status attribute.
trimStatus

Use Cases

Example 1: Trim attributes from SQL database

The attributes fetched from a SQL database contains spaces in the beginning and end of the value. These must be removed before the values are exported to another data source.

ParameterExample
Session Attribute(s)givenname,lastname,mobile
Trim character[BLANK]
Session Attribute for StatustrimStatus

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se