About 8,740,000 results
Open links in new tab
  1. Java: how to initialize String []? - Stack Overflow

    String[] errorSoon = new String[n]; With n being how many strings it needs to hold. You can do that in the declaration, or do it without the String [] later on, so long as it's before you try use …

  2. How do I compare strings in Java? - Stack Overflow

    Apr 2, 2013 · String Literals: Moreover, a string literal always refers to the same instance of class String. This is because string literals - or, more generally, strings that are the values of …

  3. What does ${} (dollar sign and curly braces) mean in a string in ...

    Mar 7, 2016 · What does $ {} (dollar sign and curly braces) mean in a string in JavaScript? Asked 9 years, 8 months ago Modified 1 year, 11 months ago Viewed 423k times

  4. What is the difference between String and string in C#?

    Aug 10, 2008 · String stands for System.String and it is a .NET Framework type. string is an alias in the C# language for System.String. Both of them are compiled to System.String in IL …

  5. What is the difference between types String and string?

    Nobody does this as in JavaScript the literals are considered better, so s2 in the example above creates a new string without the use of the new keyword and without explicitly using the String …

  6. Newest 'string' Questions - Stack Overflow

    Nov 4, 2025 · Stack Overflow | The World’s Largest Online Community for Developers

  7. c# - What does $ mean before a string? - Stack Overflow

    You can use an interpolated string anywhere you can use a string literal. When running your program would execute the code with the interpolated string literal, the code computes a new …

  8. Difference between string and char[] types in C++ - Stack Overflow

    A string is a class that contains a char array, but automatically manages it for you. Most string implementations have a built-in array of 16 characters (so short strings don't fragment the …

  9. Remove last character from C++ string - Stack Overflow

    Feb 22, 2010 · How can I remove last character from a C++ string? I tried st = substr(st.length()-1); But it didn't work.

  10. string - What is the difference between \r\n, \r, and \n? - Stack …

    Closed 12 years ago. What is difference in a string between \r\n, \r and \n? How is a string affected by each? I have to replace the occurrences of \r\n and \r with \n, but I cannot get how …