Finds last 'sample' in 'str'. Returns -1 when not found.
string
int
sample
Используется в ParticleList::RegisterParticleByFullPath().