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

    Apr 1, 2010 · 7 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 …

  2. How do I get a substring of a string in Python? - Stack Overflow

    Aug 31, 2016 · I want to get a new string from the third character to the end of the string, e.g. myString[2:end]. If omitting the second part means 'to the end', and if you omit the first part, …

  3. 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 …

  4. 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, 3 months ago Modified 1 year, 6 months ago Viewed 417k times

  5. .net - What's the @ in front of a string in C#? - Stack Overflow

    A regular string literal consists of zero or more characters enclosed in double quotes, as in "hello", and may include both simple escape sequences (such as \t for the tab character) and …

  6. How do I append one string to another in Python?

    Dec 14, 2010 · For handling multiple strings in a list, see How to concatenate (join) items in a list to a single string. See How do I put a variable’s value inside a string (interpolate it into the …

  7. .net - Split a string by another string in C# - Stack Overflow

    Feb 11, 2010 · I've been using the Split() method to split strings, but this only appears to work if you are splitting a string by a character. Is there a way to split a string, with another string …

  8. How to define an enum with string value? - Stack Overflow

    Dec 21, 2011 · You can't - enum values have to be integral values. You can either use attributes to associate a string value with each enum value, or in this case if every separator is a single …

  9. c# - What's does the dollar sign ($"string") do? - Stack Overflow

    C# string interpolation is a method of concatenating,formatting and manipulating strings. This feature was introduced in C# 6.0. Using string interpolation, we can use objects and …

  10. Convert a string to an enum in C# - Stack Overflow

    What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value …