Skip to content

Commit

Permalink
GITBOOK-829: Extract
Browse files Browse the repository at this point in the history
  • Loading branch information
deepthy-dileep authored and gitbook-bot committed Mar 5, 2025
1 parent 7270125 commit 7f4501b
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
Binary file added .gitbook/assets/image (1306).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (1307).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (1308).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (1309).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (1310).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/image (1311).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions infobridge/9.-data-transformations/text-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,34 @@ The city code is extracted from the area code and captured as a separate dimensi

<figure><img src="../../.gitbook/assets/image (1305).png" alt=""><figcaption><p>Extracted text using the range option</p></figcaption></figure>

**1.2. Length**

Capture the text length in a separate dimension by choosing the **Length** option.&#x20;

<figure><img src="../../.gitbook/assets/image (1306).png" alt=""><figcaption><p>Extract text length for a selected field in the report</p></figcaption></figure>

The length of the "Category" column has been extracted into a new dimension titled "Category length".

<figure><img src="../../.gitbook/assets/image (1307).png" alt=""><figcaption><p>Length of the Category dimension extracted into a new field</p></figcaption></figure>

**1.3. First characters**

Extract the first n characters from a text field. Let's pull the ID (first 5 characters) from the Customer ID field.

<figure><img src="../../.gitbook/assets/image (1308).png" alt=""><figcaption><p>Customer ID field</p></figcaption></figure>

Extract configuration to pull the first 5 characters from a field.

<figure><img src="../../.gitbook/assets/image (1309).png" alt=""><figcaption><p>Extract ID from the Customer ID field</p></figcaption></figure>

A new dimension containing the ID is created.

<figure><img src="../../.gitbook/assets/image (1310).png" alt=""><figcaption><p>First 5 characters extracted into a new dimension</p></figcaption></figure>

**1.4. Last characters**

Similar to the first characters option, **Last Characters** will pull the last n characters from a string.&#x20;

**1.5. Text before delimiters**

Extracts the text before a specific delimiter. Let's extract the currency code from the "Discount Index" field.
Expand Down

0 comments on commit 7f4501b

Please sign in to comment.