About 29,100 results
Open links in new tab
  1. String.Contains Method (System) | Microsoft Learn

    It defines a String extension method that includes a StringComparison parameter and indicates whether a string contains a substring when using the specified form of string comparison.

  2. Java String contains () Method - W3Schools

    Definition and Usage The contains() method checks whether a string contains a sequence of characters. Returns true if the characters exist and false if not.

  3. What does __contains__ do, what can call __contains__ function

    Like all special methods (with "magic names" that begin and end in __), __contains__ is not meant to be called directly (except in very specific cases, such as up=calls to the superclass): rather, such …

  4. Java String contains() Method with Example - GeeksforGeeks

    Jul 11, 2025 · The String.contains() method is used to search for a sequence of characters within a string. In this article, we will learn how to effectively use the string contains functionality in Java.

  5. Python's `string.contains()`: A Comprehensive Guide - CodeRivers

    Mar 22, 2025 · The concept behind string.contains() is simple: it checks whether a given substring is present within a larger string. If the substring is found, it returns a boolean value (True or False), …

  6. pandas.Series.str.contains — pandas 3.0.1 documentation

    pandas.Series.str.contains # Series.str.contains(pat, case=True, flags=0, na=<no_default>, regex=True) [source] # Test if pattern or regex is contained within a string of a Series or Index. Return boolean …

  7. Java String.contains () - Baeldung

    Apr 11, 2025 · A quick example and explanation of the contains API of the standard String class in Java.

  8. Java String Contains Method Explained with Examples

    Sep 2, 2025 · The contains () method in Java is a member of the String class, which resides in the java.lang package. It is used to check if a sequence of characters exists inside a given string.

  9. String.contains () Method in Java - Online Tutorials Library

    Learn how to use the String.contains () method in Java, including syntax, examples, and best practices.

  10. Java String contains () Method Tutorial With Examples

    Apr 1, 2025 · Upon going through this tutorial, you will definitely be able to understand and write the Java String programs that require .contains () method for various String operations.