i am trying to make a client/server program for my project.
i have created a menu that gives 3 options which in turn would take you to its corresponding method in my client. the method would run and send over some info to the server as a string. what i want to do is put a character into the first part of the array ( i believe this to be arrayname  and not ) so that when the server reads in the first character it can recognise it and send it to the correct path.
i.e if arrayname ==Q do this bit else if arrayname ==C do this else if arryname == s do this else send error code
can anyone tell me how this could be done, and how it can be done using tab spacing ?