About 72,700 results
Open links in new tab
  1. String - JavaScript | MDN - MDN Web Docs

    Jul 10, 2025 · The String() function is a more reliable way of converting values to strings than calling the toString() method of the value, as the former works when used on null and undefined.

  2. What does the symbol \\0 mean in a string-literal?

    Nov 10, 2018 · The key here is that the implicit nul terminator is always added - even if the string literal just happens to end with \0. Of course, strlen just stops at the first \0 - it can't tell the difference.

  3. String (Java Platform SE 8 ) - Oracle Help Center

    All string literals in Java programs, such as "abc", are implemented as instances of this class. Strings are constant; their values cannot be changed after they are created.

  4. Java Strings - W3Schools

    Java counts positions from zero. 0 is the first position in a string, 1 is the second, 2 is the third ... You can use the charAt() method to access a character at a specific position in a string:

  5. String Class (System) | Microsoft Learn

    Initializes a new instance of the String class to the value indicated by an array of Unicode characters, a starting character position within that array, and a length. Initializes a new instance of the String class …

  6. std::basic_string - cppreference.com

    Apr 27, 2025 · The class template basic_string stores and manipulates sequences of character -like objects, which are non-array objects of TrivialType and StandardLayoutType. The class is dependent …

  7. string - C++ Users

    Strings are objects that represent sequences of characters. The standard string class provides support for such objects with an interface similar to that of a standard container of bytes, but adding features …

  8. string — Common string operations — Python 3.14.3 documentation

    1 day ago · If the numerical arg_names in a format string are 0, 1, 2, … in sequence, they can all be omitted (not just some) and the numbers 0, 1, 2, … will be automatically inserted in that order.

  9. Strings - web.dev

    Mar 31, 2024 · This array of string values is created by "splitting" the template literal at each placeholder it contains. The first element in the array contains any characters up to the first placeholder, the …

  10. Strings - The Modern JavaScript Tutorial

    Jan 17, 2024 · Returns the part of the string between start and end (not including end). This is almost the same as slice, but it allows start to be greater than end (in this case it simply swaps start and end …