Containing

Containing["outer","inner"]

represents an object of type outer containing objects of type inner.

Details

Examples

open allclose all

Basic Examples  (1)

Find all sentences in a string that contain currency amounts:

In[1]:=
Click for copyable input
Out[1]=

Find all sentences in a string that contain countries:

In[2]:=
Click for copyable input
Out[2]=

Find sentences containing proper nouns:

In[3]:=
Click for copyable input
Out[3]=

Scope  (1)

Applications  (1)

See Also

Alternatives  TextCases  TextPosition  StringContainsQ

Introduced in 2015
(10.2)