FOFInflector::getPart

Gets a part of a CamelCased word by index.

Use a negative index to start at the last part of the word (-1 is the last part)