WOLFRAM

Containing["outer","inner"]

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

Details

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Find all sentences in a string that contain currency amounts:

Out[1]=1

Find all sentences in a string that contain countries:

Out[2]=2

Find sentences containing proper nouns:

Out[3]=3

Scope  (1)Survey of the scope of standard use cases

Combine Alternatives and Containing to form highly structured queries:

Out[1]=1
Out[2]=2

Applications  (1)Sample problems that can be solved with this function

Find sentences in the Declaration of Independence that contain countries:

Display the matches in a readable form:

Out[3]=3
Wolfram Research (2015), Containing, Wolfram Language function, https://reference.wolfram.com/language/ref/Containing.html.
Wolfram Research (2015), Containing, Wolfram Language function, https://reference.wolfram.com/language/ref/Containing.html.

Text

Wolfram Research (2015), Containing, Wolfram Language function, https://reference.wolfram.com/language/ref/Containing.html.

Wolfram Research (2015), Containing, Wolfram Language function, https://reference.wolfram.com/language/ref/Containing.html.

CMS

Wolfram Language. 2015. "Containing." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Containing.html.

Wolfram Language. 2015. "Containing." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Containing.html.

APA

Wolfram Language. (2015). Containing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Containing.html

Wolfram Language. (2015). Containing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Containing.html

BibTeX

@misc{reference.wolfram_2025_containing, author="Wolfram Research", title="{Containing}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/Containing.html}", note=[Accessed: 16-April-2025 ]}

@misc{reference.wolfram_2025_containing, author="Wolfram Research", title="{Containing}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/Containing.html}", note=[Accessed: 16-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_containing, organization={Wolfram Research}, title={Containing}, year={2015}, url={https://reference.wolfram.com/language/ref/Containing.html}, note=[Accessed: 16-April-2025 ]}

@online{reference.wolfram_2025_containing, organization={Wolfram Research}, title={Containing}, year={2015}, url={https://reference.wolfram.com/language/ref/Containing.html}, note=[Accessed: 16-April-2025 ]}