# String

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FIRVEM7IZ2MmAx1eH895l%2Fimage.png?alt=media\&token=e6ebdc53-c1d5-47d3-b28c-dc6bb7e0e3e6)

## **Change to Upper Case**

It converts the selected column value to capital letters. The transformed value can replace the existing column value or can be added as a new column.

The ***Change to Upper Case*** transform is applied to the Source column by creating a new column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FsgckBQjbkMilHrA3pACI%2Fimage.png?alt=media&#x26;token=7b549512-7a3f-4a9d-a6b8-66acbe3b45ec" alt=""><figcaption></figcaption></figure>

A new column gets created with the values mentioned in Upper case:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FU98VZTR61sACWFpQuofC%2Fimage.png?alt=media&#x26;token=dc88ac9b-5bc5-4dee-b9d7-44e9b665da75" alt=""><figcaption></figcaption></figure>

## **Change to lowercase**

It converts the selected column value to the small case. The transformed value can replace the existing column value or can be added as a new column.&#x20;

When the ***Change to lower case*** transform is applied on the Source column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FZryiz40wDRe8ZxsPj8lw%2Fimage.png?alt=media&#x26;token=935d1049-b2dd-432a-8b92-1221d5f27758" alt=""><figcaption></figcaption></figure>

the ***Source*** column gets displayed in the lower case:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FG8lhUVsbBeKuPNq89njp%2Fimage.png?alt=media&#x26;token=efad2d93-1bb7-497e-a8bf-76cd537e705c" alt=""><figcaption></figcaption></figure>

## **Change to Title Case**

It converts the selected column value to the title case. The transformed value can replace the existing column value or can be added as a new column.

&#x20;The ***Change to Title Case*** transform is applied to the ***Source*** column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FtJZHPEUJ6eQxhSYmkNzB%2Fimage.png?alt=media&#x26;token=c3063d71-8f5a-4634-a4e9-908f88b9803e" alt=""><figcaption></figcaption></figure>

the ***Source*** values get changed into the title case:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FfvHSKvsmxPZydOcKSjmj%2Fimage.png?alt=media&#x26;token=3fa9b9a4-dc2d-4db4-93fa-5c73efd304ce" alt=""><figcaption></figcaption></figure>

## **Remove Trailing and Leading Characters**

&#x20;It removes trailing and leading characters from the column. The transformed value can replace the existing column value or can be added as a new column.

* [x] **Padding character:** Specify whether to remove whitespace or another character using the drop-down menu.
* [x] **Custom padding character -** If ***other*** is selected as a padding character, specify which character to be removed.   &#x20;

The ***Remove Trailing and Leading Characters*** transform is applied on the ***designation*** column where the preface '***Sr***' custom padding is set to be removed from the new column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F1ZOML3K1rtt2thflZ71G%2Fimage.png?alt=media&#x26;token=5cae2d10-31ce-4464-9a09-3830c6b7db16" alt=""><figcaption></figcaption></figure>

A new column with designation values gets added without the '***Sr***' prefix:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FAOdvJtdK3bz4vub9og5V%2Fimage.png?alt=media&#x26;token=bb4a87f5-99e4-43a4-91f8-4108eeeec9c8" alt=""><figcaption></figcaption></figure>

## **Remove Part of Text**

It matches and removes the matching part or entire value based on the condition. The transformed value can replace the existing column value or can be added as a new column.

* [x] **Operator:** Select the operator required for matching from the list
* [x] **Value:** The value or pattern to be searched for in the selected column
* [x] **Submit**: Click the ***Submit*** option to apply the transform.

![](https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FFMRkSrKNtdld0RypCzSM%2Fimage.png?alt=media\&token=a2aefb7b-dfc9-4e37-9984-be68ccab3b54)

## **Remove Consecutive Characters**

&#x20;The transform removes the repeated whitespace or character and modifies the selected column /adds the result to a new column. It removes only the repetition.

* [x] **Separator**: it has values whitespace /other. If whitespace, the transform searches for multiple white spaces and returns a single-spaced value.
* [x] **Custom repeated Character:** When a repeated character is ‘**Other**,’ this provides an option to give the character whose consecutive occurrence must be searched.
* [x] **Submit**: Click the ***Submit*** option to apply the transform specification to the selected column.

The ***Remove consecutive characters*** transform is applied to the ***current\_status*** column,&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fd2FMLGKiBI6Vpr7hTq3e%2Fimage.png?alt=media&#x26;token=1cefbedb-05d5-4bfe-827a-d6cff785a0ce" alt=""><figcaption></figcaption></figure>

The consecutive character 'r' gets removed from the cells that contain the value 'Transferred'. It returns the ***current\_status*** column as shown below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fk9Gbss4dWrPTseNneRnp%2Fimage.png?alt=media&#x26;token=b5172c60-366a-49c7-8e5e-3df18ba841bb" alt=""><figcaption></figcaption></figure>

## **Search and Replace**

It searches and replaces the matching part or entire value based on the option selected. The transformed value can replace the existing column value or can be added as a new column.

* [x] **Operator**- Select the operator required for matching from the list. Operators include contains, equals, starts with, ends with, and regex match.
* [x] **Value:**  It is the value or pattern to be searched for in the selected column.

The ***Search and Replace*** transform has been applied to the ***team*** column,

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fhc3fvuoXrVBENhROLlw0%2Fimage.png?alt=media&#x26;token=1f27f835-5506-47aa-80cd-a92561a563f8" alt=""><figcaption></figcaption></figure>

A new column gets added to the dataset with the set value for the replacement E.g., in the selected instant the ***BU 10*** has been replaced with ***105***.

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FjLJa3l0up2AhIrzlBSuo%2Fimage.png?alt=media&#x26;token=253b7271-2e30-466f-91c4-3e215f3fd95a" alt=""><figcaption></figcaption></figure>

## **Extract Substring before Delimiter**

It extracts the substring from the selected column, before the ‘nth’ occurrence of the delimiter specified where ‘n’ is the count. The transformed value can replace the existing column value or can be added as a new column.

* [x] **Delimiter:** The delimiter on whose occurrence the extract should happen.
* [x] **Count:** This value is mandatory and specifies the count of occurrence of the delimiter before which the extract should happen.

The below given example displays how the Extract Substring before delimiter transform extracts the first string from the ***expected\_joining\_date*** column and creates a new column ***expected\_joining\_date\_extract\_substring\_before\_delimiter1*** displaying only the first string (only the year) value of the selected column.

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FiZVKpGEkxxPQGPwAOlB1%2Fimage.png?alt=media&#x26;token=860534c6-de26-43a1-8098-3218d06baa3d" alt=""><figcaption></figcaption></figure>

## **Extract Substring at Position**

It extracts the substring from the selected column based on the starting position and the length of the extract. The transformed value can replace the existing column value or can be added as a new column.

* [x] **Position:** This value is required and is the start position. It can be both a positive and negative number. If it is a positive number, this function extracts from the beginning of the string. If it is a negative number, this function extracts from the end of the string.
* [x] **Length:** This value is optional. It specifies the number of characters to extract. If omitted, the whole string is returned starting from the given position.

The Extract Substring at position transform is applied to the expected\_joining\_date with the 0 position and 7 as length value:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FqlfVnQmGdMNwCOOE836s%2Fimage.png?alt=media&#x26;token=a22ce551-9dec-4862-9bd6-7936a9f93af5" alt=""><figcaption></figcaption></figure>

It returns a new column expected\_joining\_date\_extract\_substring\_1 with the first 7 positions as the split string value is 0.

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fk8n8YjluktBLG5tHuq4i%2Fimage.png?alt=media&#x26;token=3c7f8df3-8786-4be1-b017-248da7831e5a" alt=""><figcaption></figcaption></figure>

## **Split String**

&#x20;It splits the string based on condition. It displays new columns based on the number of delimiter and on position.

* **Use With:** Specify whether to split with a delimiter or at a position
* **Delimiter:** The delimiter on whose occurrence the split should happen
* **Position:** After which position split should happen if the selected option for the ***Use with*** is ***position***.

&#x20;Here splitting of the column is done based on Delimiter. The applied Separator is '-' and the selected splitting rule is first 3 no. of fields.&#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FuN2XcxahByNDsurGMoN4%2Fimage.png?alt=media&#x26;token=4786ff5d-d044-4f66-9ded-a460472aeb13" alt=""><figcaption></figcaption></figure>

The values from the expected\_joining\_date get splitted in 3 columns as displayed below:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fv8yq4ZX0viRT3QSgdmSQ%2Fimage.png?alt=media&#x26;token=380ba987-b384-4952-8d19-cf603d9d40f5" alt=""><figcaption></figcaption></figure>

## **Insert Character**

&#x20;It inserts the character entered after a specified position. The transformed value can replace the

&#x20;existing column value or can be added as a new column.

* [x] **Position:** The position in the cell value, after which the character must be inserted. We can even pass comma-separated values.&#x20;
* [x] **Character**: The character that should be inserted after the specified positions.

The Insert Character transform has been applied to the ***offered\_ctc*** column. The selected position is 0 and character to be added is $:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FVPBY8WB6w6wZkUBBxdyC%2Fimage.png?alt=media&#x26;token=1d5d48d3-9878-4011-9bca-2071e8aac613" alt=""><figcaption></figcaption></figure>

A new column gets added to the dataset with the set configuration for the ***Insert Character*** transform:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F4AWV2uoTfNf7y28d6irE%2Fimage.png?alt=media&#x26;token=0e5f96a6-1a12-4c0b-a318-957358f382a6" alt=""><figcaption></figcaption></figure>

*

&#x20;

##

&#x20;

##

##

##

&#x20;

&#x20;         &#x20;
