public string GetWordByIndex(int index, string subtype, WordFormat format)
{
int subIndex = LookForSubtype(subtype);
if (subIndex == -1)
{
return Error("SubtypeNotFound->" + subtype);
}
if (subIndex > Words[index].Length - 1)
{
return Error("InadequateSubtypeCount");
}
return Format(Words[index][subIndex], format);
}