uCosminexus Service Platform, Basic Development Guide
Removes the leading and trailing spaces (single--byte space, tab, carriage return, and line feed) from a string of the mapping source. Also replaces consecutive spaces between strings with a single space.
- Organization of this subsection
- (1) Function used
- (2) Setup procedure
(1) Function used
To remove spaces from a string, you use the trim node function. The following figure shows an example that uses the trim node function.
Figure 6-6 Usage example of the trim node function
(2) Setup procedure
To remove spaces:
- From the palette, choose the trim node function (trim), and deploy it in the mapping viewer.
- Set up a mapping line.
- Use one of the following methods to open Trim Node dialog box:
- Right--click the trim node function, and choose Setting.
- Double--click the trim node function.
The Trim Node dialog box opens.
For details about the Trim Node dialog box , see the manual Cosminexus Service Platform Overview.
- When a transformation-source node is specified in Input, to specify a condition for the transformation-source node and map it only when this condition is satisfied, click Set Node Condition.
The Set Node Condition dialog box opens.
For details about how to set a node condition, see 6.7 Specifying Node Conditions. For details about the Set Node Condition dialog box, see the manual Cosminexus Service Platform Reference.
- Click OK.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.