You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

指定の文字をすべてソースから削除
CompatibleUnicode組み込みファンクション (PRIM_LIBI.ICompatibleUnicodeIntrinsics) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Result

*Result (任意)

Unicode 文字列

全ての文字が削除された後の結果

Object

*Input

Unicode 文字列

削除する文字

詳細


RemoveCharacters は、 Object パラメータで指定された文字のすべてのオカレンスを削除します。これは RemoveAll が、 RemoveCharacters が検索文字列全体のインスタンスではなく個々の文字を対象文字列で検索する点を除いて、組み込み関数に似ています。
RemoveCharacters では大文字と小文字が区別されます。


この例では、 #String が "ADACABA" の場合、結果は "DCB" になります。
#String := #String.RemoveCharacters("A")

参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels