Acet-str-wcmatch

提供:GizmoLabs - だいたい CAD LISP なサイト
構文
(acet-str-wcmatch string pattern [ caseInsensitive])


機能
文字列 string がパターン pattern と一致する場合、T を返す。


引数
  • String … 評価する文字列
  • pattern … 比較するパターン
  • caseInsensitive … nil でない場合、wcmatch 操作は大文字小文字を区別するモードで実行される。


戻り値
パターンを一致すれば T、それ以外は nil


サンプル
(acet-str-wcmatch "ABC" "abc")
T

(acet-str-wcmatch "ABC" "abc" T)
nil

(acet-str-wcmatch "バックします" "バック*")
T

(acet-str-wcmatch "バックします" "バック*")
nil



関連事項