您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

EXTRACTCHOICE()

Extract one Yes/No value within textual value

Returns one Yes/No expression based on whether yes, true, no, or false appears first in a string as follows:

  • TRUE if first occurrence in the text is yes or true.
  • FALSE if first occurrence in the text is no or false.

Sample usage

EXTRACTCHOICE("Based on the evidence, I must conclude that yes, he is guilty.") returns TRUE 

EXTRACTCHOICE("When I ask my son if he wants to eat broccoli, he screams NO!!!") returns FALSE 

Syntax

EXTRACTCHOICE(text-to-extract-from)

  • text-to-extract-from - Any textual value.

Notes

Returns a single value, unlike the other EXTRACT() functions which all return a list of values.

See also

EXTRACT()

EXTRACTDATES()

EXTRACTDATETIMES()

EXTRACTDOMAINS()

EXTRACTDURATIONS()

EXTRACTEMAILS()

EXTRACTHASHTAGS()

EXTRACTMENTIONS()

EXTRACTNUMBERS()

EXTRACTPHONENUMBERS()

EXTRACTPRICES()

EXTRACTTIMES()

 

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Main menu
1389754549031407873
true
Search Help Center
false
true
true
true
false
false
false
false
false
⌂ 换网址