テキスト値に含まれる 1 つの Yes/No 値を抽出する
文字列で最初に出現するのが yes
(true
)か no
(false
)に応じて、次のように 1 つの Yes/No
式を返します。
TRUE
: テキストで最初に出現するのがyes
またはtrue
の場合。FALSE
: テキストで最初に出現するのがno
またはfalse
の場合。
使用例
EXTRACTCHOICE("Based on the evidence, I must conclude that yes, he is guilty.")
は TRUE
を返します。
EXTRACTCHOICE("When I ask my son if he wants to eat broccoli, he screams NO!!!")
は FALSE
を返します。
構文
EXTRACTCHOICE(抽出元のテキスト)
抽出元のテキスト
- 任意のテキスト値。
注
他の EXTRACT()
関数はすべて値のリストを返しますが、この関数は 1 つの値を返します。
関連情報