private string fetchNameOnStatsData(string nameWithMoreData)
{
//probably name has a jumpType like:
//myName (CMJ), or myName.F (CMJ)
//int parenthesesPos = nameWithMoreData.LastIndexOf('(');
//it can have two parentheses, like:
//myName (Rj(j))
int parenthesesPos = nameWithMoreData.IndexOf('(');
string nameWithoutJumpType;
if(parenthesesPos == -1)
nameWithoutJumpType = nameWithMoreData;
else
nameWithoutJumpType = nameWithMoreData.Substring(0, parenthesesPos-1);
//probably name has sex like:
//myName.F, or myName.F (CMJ)
string [] onlyName = nameWithoutJumpType.Split(new char[] {'.'});
return onlyName[0];
}