# DataQuality routine

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
* Qlik Talend Cloud Enterprise Edition
* Qlik Talend Cloud Premium Edition
* Real-Time Big Data Platform

## About this task

DataQuality routine is composed of portions of code that parse and clean your data. You can use them in the settings of Data Quality components in a Talend Job.

To access the functions, in the Repository tree view, go to Code &gt; Global routines &gt; system and double-click DataQuality.

Description and syntax of DataQuality routine functionsDescription and syntax of DataQualityDataQuality routine functions

| Function | Description | Syntax |
| --- | --- | --- |
| getTitle | Returns the extracted title based on a list of provided<br>titles. | DataQuality.getTitle |
| getNameWithoutTitle | Returns the string without the title. | DataQuality.getNameWithoutTitle |
| getNameWithoutSuffix | Returns the string without the suffix. | DataQuality.getNameWithoutSuffix |
| getLastName | Returns only LastName value from the<br>string. | DataQuality.getLastName |
| getCleansedLastName | Returns the string without the title and suffix. | DataQuality.getCleansedLastName |
| isValidName | Returns true/false if the string is a valid/invalid formed name<br>respectively: [Initial] Firstname [Initial] Lastname. | DataQuality.isValidName |