| 最初と最後の空白を削除する。
chop(+string, -result)
chop/2
Cuts off leading and trailing white space of "string".
"string"(文字列)の最初と最後の空白を削除する。
引数
string アトム
result アトム
例題
chop(' one two ', L) => L = 'one two'
標準
この述語は、ISO-Prolog標準の一部ではありません。
以下も参照して下さい。
正規表現,
match/2/3,
match_all/3,
substitute/4,
substitute_all/4,
split/2/3,
chop/2,
get_line/1/2,
|