Gems/EMotionFX/Code/MCore/Source/CommandLine.cpp
size_t CommandLine::FindParameterIndex(const char* paramName) const
    {
        // compare all parameter names on a non-case sensitive way
        const auto foundParameter = AZStd::find_if(begin(m_parameters), end(m_parameters), [paramName](const Parameter& parameter)
        {
            return AzFramework::StringFunc::Equal(parameter.m_name, paramName, false /* no case */);
        });

        return foundParameter != end(m_parameters) ? AZStd::distance(begin(m_parameters), foundParameter) : InvalidIndex;
    }
// try to find a given parameter's index into the parameter array
try to find a given parameter's index into the parameter array
try to find a given parameter ' s index into the parameter array
size_t CommandLine::FindParameterIndex(const char* paramName) const
    {
        const auto foundParameter = AZStd::find_if(begin(m_parameters), end(m_parameters), [paramName](const Parameter& parameter)
        {
            return AzFramework::StringFunc::Equal(parameter.m_name, paramName, false );
        });
        return foundParameter != end(m_parameters) ? AZStd::distance(begin(m_parameters), foundParameter) : InvalidIndex;
    }
size_t CommandLine :: FindParameterIndex ( const char * paramName ) const { const auto foundParameter = AZStd :: find_if ( begin ( m_parameters ) , end ( m_parameters ) , [ paramName ] ( const Parameter & parameter ) { return AzFramework :: StringFunc :: Equal ( parameter . m_name , paramName , false ) ; } ) ; return foundParameter != end ( m_parameters ) ? AZStd :: distance ( begin ( m_parameters ) , foundParameter ) : InvalidIndex ; }
try to find a given parameter's index into the parameter array
try to find a given parameter ' s index into the parameter array
// compare all parameter names on a non-case sensitive way /* no case */