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

    String[] errorSoon; // <--declared statement String[] errorSoon = new String[100]; // <--initialized statement You need to initialize the array so it can allocate the correct memory storage for the String …

  2. string to string array conversion in java - Stack Overflow

    Jun 5, 2020 · 143 I have a string = "name"; I want to convert into a string array. How do I do it? Is there any java built in function? Manually I can do it but I'm searching for a java built in function. I want an …

  3. Convert array of strings into a string in Java - Stack Overflow

    Apr 7, 2011 · I want the Java code for converting an array of strings into an string.

  4. How do I make a String array with values? - Stack Overflow

    Dec 18, 2011 · I know how to make an empty array, but how do I make a String array with values from the start?

  5. Converting string to byte array in C# - Stack Overflow

    Apr 18, 2013 · Converting string to byte array in C# Asked 12 years, 8 months ago Modified 1 year, 9 months ago Viewed 2.0m times

  6. Converting 'ArrayList<String> to 'String []' in Java - Stack Overflow

    Oct 28, 2010 · How might I convert an ArrayList<String> object to a String [] array in Java?

  7. Java - search a string in string array - Stack Overflow

    Jul 12, 2016 · Java - search a string in string array [duplicate] Asked 9 years, 5 months ago Modified 5 years, 3 months ago Viewed 152k times

  8. Declare and Initialize String Array in VBA - Stack Overflow

    Oct 14, 2013 · 179 In the specific case of a String array you could initialize the array using the Split Function as it returns a String array rather than a Variant array:

  9. Iterate through string array in Java - Stack Overflow

    Jul 15, 2011 · I have String array with some components, this array has 5 components and it vary some times. What I would like to do is to iterate through that array and get the first component and the …

  10. Convert ArrayList<String> to String[] array - Stack Overflow

    Mar 21, 2011 · According to Joshua Bloch in Effective Java, preallocating the array harms performance. Provide a zero-length array instead. stockList.toArray(new String[0])