# Configuring the tMap component

Available in...

* Big Data Platform
* Cloud API Services Platform
* Cloud Big Data Platform
* Cloud Data Fabric
* Cloud Data Management Platform
* Data Fabric
* Data Management Platform
* Data Services Platform
* MDM Platform
* Qlik Cloud Enterprise Edition
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition
* Real-Time Big Data Platform

## Procedure

1. Double-click tMap to open the Map editor.

   ![Map editor.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/DQ_Routine_String5.png)
2. On the right side of the lower part of the editor, click the [+] button to add 8 rows and rename them with: Entity\_string, contains\_only\_initials, safe\_trim, contains\_only\_initials\_after\_trim, str1, str2, str3, safe\_concat.

   These rows correspond to the original input data or the data to be handled by the DqStringHandling functions.
3. In this table, click, in the Type column, the contains\_only\_initials and the contains\_only\_initials\_after\_trim rows respectively and select Boolean from the drop-down list for each of them.

   On the upper part of this editor, these new rows have been added to the output table on the right side automatically.

   ![Mapping in the map editor.](https://help.qlik.com/talend/en-US/studio-user-guide/Resources/images/DQ_Routine_String6.png)
4. From the row1 input table on the left side to the Expression column of the output table on the right side, drop the Entity\_string, the str1, the str2 and the str3 rows respectively on the corresponding rows on the output side.
5. In the Expression column, select the contains\_only\_initials row.
6. Press Ctrl+space to open the auto-completion list.
7. From this list, select DqStringHandling.containOnlyInitials.
8. Continue to enter the row of data to be handled by this selected routine between the parentheses to replace the default one. In this use case, this row is row1.Entity\_string.

   Thus the entered expression reads as the following: Handling.containsOnlyInitials(row1.Entity\_string).
9. Do the same to complete the rest of the rows in the Expression column using the corresponding DqStringHandling functions to each row. Then these row expressions read as follows:
   * DqStringHandling.safeTrim(row1.Entity\_string) for the safe\_trim row;

   * DqStringHandling.containsOnlyInitials; (DqStringHandling.safeTrim(row1.Entity\_string) ) for the contains\_only\_initials\_after\_trim row;

   * DqStringHandling.safeConcat(' ', row1.Entity\_string , row1.str1, row1.str2 , row1.str3) for the safe\_concat row.

   Information noteNote: As is presented in this use case, different DqStringHandling functions can be combined in one expression to produce an advanced result.
10. Click OK to validate these changes and accept the propagation prompted by the dialog box that pops up.