soulslicer
Tank
- Joined
- Mar 16, 2007
- Messages
- 4,623
- Reaction score
- 12
Okay, my Objective is to say have an input into a certain variable, say like the word "HELLO", intro a string,
and..I need to seperate out the CHARACTERS in "HELLO", say like "H", "E", "L", "L", "O"
and have them stored in a char[] array,
such that that char[] character must be = {'H', 'E', 'L', 'L', 'O'}
How do i possibly do this????
I've tried:
and..I need to seperate out the CHARACTERS in "HELLO", say like "H", "E", "L", "L", "O"
and have them stored in a char[] array,
such that that char[] character must be = {'H', 'E', 'L', 'L', 'O'}
How do i possibly do this????
I've tried:
Code:
Console.WriteLine("Enter the letters you want removed");
string remover = Console.ReadLine();
char[] remover1;
int counter = 0;
foreach (char character in remover)
{
Console.WriteLine(character);
NOW I ave seperated the characters, now what do i DO??
}
Console.ReadLine();