Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Filter with first letter in Headline property

Vote:
 

I wish to filter the search result based on an alphabet. I am buidling the filter but it does't seem to work. Any Pointer

letterFilterBuilder.Or(x => x.PuffHeadline().Substring(0,1).Match(letterFilter))

BR,

Amol Mahul

#178037
Apr 27, 2017 13:46
Vote:
 

You can use the "Prefix" filter method. Check out the documentation: http://world.episerver.com/documentation/developer-guides/find/NET-Client-API/searching/Filtering/Strings/

#178039
Apr 27, 2017 13:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.