Schema.getFieldIndex

class Schema
int
getFieldIndex
(
string name
)