# ユースケース: DqStringHandlingルーチンを使って文字列を処理

利用対象...

* 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
* Real-Time Big Data Platform

このユースケースでは、3つのコンポーネントで構成されたジョブが複数のDqStringHandlingファンクションを同時に使用して、複数の所定の文字列を処理します。

![デザインワークスペース内のジョブのスクリーンショット。](https://help.qlik.com/talend/ja-JP/studio-user-guide/Resources/images/DQ_Routine_String1.png)

このジョブの3つのコンポーネントは次のとおりです。

* tFixedFlowInput: このコンポーネントによって、選択したDqStringHandlingルーチンによって処理される文字列が返されます。
* tMap: このコンポーネントは、選択したDqStringHandlingルーチンを使用して所定の文字列を変換します。
* tLogRow: このコンポーネントはこのジョブの実行結果を表示します。

このユースケースを複製するには、次の手順に従います。

結果から、contains\_only\_initials行はU.S.A.の前にスペースがあったためfalseを出力しcontains\_only\_initials\_after\_trimではスペースが切り詰められたのでtrueが示され、safe\_trim行はスペースが切り詰められたU.S.A. を出力し、safe\_concat行は U.S.A.を出力したことがわかります。Global Business Servicesを出力したことがわかります。

### このセクション内

* [コンポーネントを一緒にドロップし、リンクします。](https://help.qlik.com/talend/ja-JP/studio-user-guide/8.0-R2024-04-and-earlier/dropping-and-linking-components-together)
* [最初のコンポーネントの設定](https://help.qlik.com/talend/ja-JP/studio-user-guide/8.0-R2024-04-and-earlier/configuring-first-component)
* [tMapコンポーネントを設定](https://help.qlik.com/talend/ja-JP/studio-user-guide/8.0-R2024-04-and-earlier/configuring-tmap-component)
* [ジョブを完了させて実行](https://help.qlik.com/talend/ja-JP/studio-user-guide/8.0-R2024-04-and-earlier/finalizing-and-executing-job)