---
title: 【FAQ_1645】パラメータ文字列の部分抽出
description: リレーション関数「extract」を使用すると文字列を抽出できますが、指定方法は「抽出開始位置の文字番号」と「抽出する文字数」による指定になります。先頭からの抽出や、開始位置が常に固定（例えば3文字目からなど）の場合は設定可能です。
---

[コンテンツまでスキップ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/パラメータ文字列の部分抽出#main-content)

日本語 - 日本

翻訳のサブメニューを表示

![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png)

- ホーム
- 製品
- 価格
- ブログ
- 会社

メインナビゲーションを開く

メインナビゲーションを閉じる

- ホーム
- 製品
- 価格
- ブログ
- 会社
- 日本語 - 日本
  
  翻訳のサブメニューを表示
- [お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

[お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

 何かお困りですか？

- 検索フィールドが空なので、候補はありません。

1. [アシストエンジニア ナレッジベース](https://support.assistengineer.com/ja-jp/assistengineer-knowledge?hsLang=ja-jp)
2. [Creo Parametric](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp)
3. [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)

# 【FAQ\_1645】パラメータ文字列の部分抽出

## 図面枠の作成で、モデルが持つパラメーターの文字列の一部（先頭からn文字、任意位置からn文字、末尾からn文字）だけを抽出してテーブルにリンクさせたいのですが、どのように表現すればよいですか。

リレーション関数「extract」を使用すると文字列を抽出できますが、指定方法は「抽出開始位置の文字番号」と「抽出する文字数」による指定になります。先頭からの抽出や、開始位置が常に固定（例えば3文字目からなど）の場合は設定可能です。末尾からの抽出は、パラメータの全体文字数が常に一定であれば設定できますが、文字数が変動する場合は開始位置を指定できないため対応できません。リレーション式は3Dモデル内に追加するのが推奨されます。

- [Creo Parametric](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#main-content)

    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [製造](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A3%BD%E9%80%A0)
    - [板金](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E6%9D%BF%E9%87%91)
- [Creo Elements/Direct](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
- [Creo View](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#main-content)

    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Creo Simulate](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
- [Mathcad](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [Windchill](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#main-content)

    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Arbortext](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [その他](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#main-content)

    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)

- ホーム
- 製品
- 価格
- ブログ
- 会社

[![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png "アシストエンジニア")](https://assistengineer.com/)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, 株式会社アシストエンジニア