Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

文字列で検索置換を行う

  • Last UpdatedSep 26, 2024
  • 1 minute read

シングルバイト文字列セットを使用する言語(英語など)では、スクリプトで StringInString() および StringReplace() 関数を使用して、制限付き検索および置換機能をメッセージ型タグ変数で実行できます。

使用場所

目的

StringInString()

別の文字列で文字列を検索し、その位置を結果として返します。

StringReplace()

指定文字列の特定の文字または単語を他の文字または単語に置換して、新しい文字列を結果として返します。