London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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.