---
title: "LTRIMTEXT"
description: "LTRIMTEXT SQL\u95A2\u6570\u306F\u3001\u30C8\u30EA\u30E0\u30C6\u30AD\u30B9\u30C8\u306E\u30EA\u30B9\u30C8\u306B\u57FA\u3065\u3044\u3066\u3001\u30C6\u30AD\u30B9\u30C8\u306E\u5DE6\u5074\u3092\u30C8\u30EA\u30E0\u3057\u307E\u3059\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/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:08Z
license: https://documentation.invantive.eu/ja/
---

## 構文
```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))
```

## 目的
`LTRIMTEXT` SQL関数は、トリムテキストのリストに基づいて、テキストの左側をトリムします。 テキストがトリムテキストで始まる場合、そのトリムテキストは削除されます。

参照：[[RTRIMTEXT]]。

パラメータ:
- テキスト（`varchar2`）：トリムするテキスト。
- トリムテキスト（省略可能、`varchar2`）：テキストの左側からトリムしたいテキスト。 デフォルトは空白文字です。

戻り値：トリム後のテキスト。

## 例
次の例は、`The Invantive`の左側からテキスト`The `をトリムします：
```sql
select ltrimtext('The Dog', 'The ')

-------------------
Dog
```
次の例は、`The The Invantive`の左側から繰り返し出現するテキスト`The `をトリムします：
```sql
select ltrimtext('The The Dog', 'The ')

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

