protected Tuple<string, string> GetUserModeAndNickName(string input)
{
if (input == null)
throw new ArgumentNullException("input");
if (input.Length == 0)
throw new ArgumentException(Resources.MessageValueCannotBeEmptyString, "input");
char mode;
if (channelUserModesPrefixes.TryGetValue(input[0], out mode))
return Tuple.Create(input.Substring(1), mode.ToString());
return Tuple.Create(input, string.Empty);
}