Execute a final Join() method to convert the array of words back into a single text string. Save the project as TitleCase.

Is this your question too? Our experts can help you prepare an answer and you can learn from the assignment. You can email your assignment to assignment@tutehelp.com or Click Here to Instantly Upload Assignment Online or visit our Service Page to know more about us.

This is a C# program done in Microsoft Visual Web developer 2008 Express Edition. Can you help me with the this one error on Line 18: string[] myTextArray = myText.Split(‘ ‘); //a Split() method that converts the string into an array

This is what the program is suppose to do.

I must create a script that takes text that a user enters into a form field and converts it to title case capitalization. Use a split() method to split words in the string into an indexed array. Then create a for loop that uses another split() method that splits each word in the elements of the indexed array into another another indexed array of characters. Within the for loop, us he ToUpper() method to convert the first element in the second array (which represents the first characters in the word to uppercase) to uppercase, and then use the Join() method to rebuild the array of words in the text string. Execute a final Join() method to convert the array of words back into a single text string. Save the project as TitleCase.

Comments are closed.