GetGenderIndex = Switch(sName = &quot; Jane &quot; , &quot; female &quot; , sName = &quot; John &quot; , &quot; male &quot; )
GetGenderIndex = Switch(sName = &quot; Маша &quot; , &quot; жен. &quot; , sName = &quot; Вася &quot; , &quot; муж. &quot; )