About 16,300 results
Open links in new tab
  1. string to string array conversion in java - Stack Overflow

    Jun 5, 2020 · 142 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 …

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

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

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

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

  5. How to add a string to a string [] array? There's no .Add function

    You can't add items to an array, since it has fixed length. What you're looking for is a List<string>, which can later be turned to an array using list.ToArray(), e.g.

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

    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:

  7. c# - Options for initializing a string array - Stack Overflow

    Sep 3, 2013 · Options for initializing a string array [duplicate] Asked 16 years, 2 months ago Modified 12 years, 3 months ago Viewed 244k times

  8. Using C# to check if string contains a string in string array

    May 26, 2010 · I want to use C# to check if a string value contains a word in a string array. For example: string stringToCheck = "text1text2text3"; string [] stringArray = { "text1", "

  9. Using a 'foreach' loop with stringArray in C# - Stack Overflow

    At no point in your code do you alter values in the array. You create a new string from each value in the array, concatenated with the string "sad". Solution You can not alter a for-each variable. You'll get a …

  10. 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?