About 51 results
Open links in new tab
  1. What is the difference between String[] and String... in Java?

    How should I declare main () method in Java? String[] and String... are the same thing internally, i. e., an array of Strings. The difference is that when you use a varargs parameter (String...) you can call the …

  2. 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 (which...

  3. How do I parse a string to a float or int? - Stack Overflow

    Dec 19, 2008 · For the reverse, see Convert integer to string in Python and Converting a float to a string without rounding it. Please instead use How can I read inputs as numbers? to close duplicate …

  4. How to convert an instance of std::string to lower case

    Nov 24, 2008 · How else would you convert each element of a list of anything to something else, without iterating through the list? A string is just a list of characters, if you need to apply some function to …

  5. How do I put variables inside javascript strings? - Stack Overflow

    s = 'hello %s, how are you doing' % (my_name) That's how you do it in python. How can you do that in javascript/node.js?

  6. Python string interning - Stack Overflow

    Mar 21, 2013 · In the second example, the expression "strin"+"g" is evaluated at compile time, and is replaced with "string". This makes the first two examples behave the same.

  7. vba - How to find numbers from a string? - Stack Overflow

    Aug 30, 2011 · I need to find numbers from a string. How does one find numbers from a string in VBA Excel?

  8. c++ - std::wstring VS std::string - Stack Overflow

    Dec 31, 2008 · I am not able to understand the differences between std::string and std::wstring. I know wstring supports wide characters such as Unicode characters. I have got the following questions: …

  9. How can I get query string values in JavaScript? - Stack Overflow

    May 23, 2009 · Is there a plugin-less way of retrieving query string values via jQuery (or without)? If so, how? If not, is there a plugin which can do so?

  10. c# - Better way to clean a string? - Stack Overflow

    Mar 19, 2019 · public static string CleanString(string dirtyString) { string removeChars = " ?&^$#@!()+-,:;<>’\'-_*"; string result = dirtyString; foreach (char c in removeChars) { result = …