Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I was able to achieve it using below code:
public static DelegateFilterBuilder PrefixCaseInsensitive(this IEnumerable<string> value, string prefix)
{
return new DelegateFilterBuilder((Func<string, Filter>)(field => (Filter)new PrefixFilter(field, prefix.ToLowerInvariant())))
{
FieldNameMethod = (Func<Expression, IClientConventions, string>)((expression, conventions) => conventions.FieldNameConvention.GetFieldNameForLowercase(expression))
};
}
Thanks!
Is it possible to use PrefixCaseInsensitive with a collection of strings?
By default, FIND allows to use MatchCaseInsensitive for strings collections but seems like PrefixCaseInsensitive is not supported.