---
title: "LTRIMTEXT"
description: "La funci\u00F3n SQL LTRIMTEXT elimina del lado izquierdo de un texto una lista de textos a recortar."
language: es
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/es/docs/invantive-universalsql/grammar/sql-functions/ltrimtext
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/ltrimtext
updated: 2026-12-04T13:57:01Z
license: https://documentation.invantive.eu/es/
---

## Sintaxis
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> LTRIMTEXT[LTRIMTEXT]:::quoted
    LTRIMTEXT --> End((END))
```

## Propósito
La función SQL `LTRIMTEXT` recorta el lado izquierdo de un texto según una lista de textos de recorte. Cuando el texto comienza con un texto a recortar, dicho texto se elimina.

Véase también [[RTRIMTEXT]].

Parámetros:
- Texto (`varchar2`): texto que se va a recortar.
- Texto a recortar (opcional, `varchar2`): texto o textos que queremos recortar a la izquierda del texto. El valor por defecto son los espacios en blanco.

Devuelve: el texto recortado.

## Ejemplos
El siguiente ejemplo recorta el texto `The ` de la parte izquierda de `The Invantive`:
```sql
select ltrimtext('The Dog', 'The ')

-------------------
Dog
```
El siguiente ejemplo recorta el texto repetido `The ` de la parte izquierda de `The The Invantive`:
```sql
select ltrimtext('The The Dog', 'The ')

-------------------
Dog
```

