テキスト値に含まれる数値のリストを抽出する
テキスト値に含まれる Decimal
値のリストを返します。
使用例
EXTRACTNUMBERS("My name is Theo and I’m three and a half years old!")
は、3.5
(1 個の Decimal
値を含むリスト)を返します。
EXTRACTNUMBERS("Tommy: I left a message. Richard: Really, what number did you call? Tommy: two, four, niner, five, six, seven…”)
は、2
、4
、5
、6
、7
を返します。これは、5 個の Number
値を含むリストで、niner
は数値として認識されていません。
EXTRACT("NUMBERS", "The address is 330 SW Main St, 97229”)
は 330
、97299
(2 個の Number
値を含むリスト)を返します。
構文
EXTRACTNUMBERS(抽出元のテキスト)
抽出元のテキスト
- 任意のテキスト値。
関連情報