Since Web API OData V5.9.0, it supports to bind the custom UriFunctions to CLR methods now, so user can add,modify or override the existing pre defined built-in functions.
Let’s see how to use this feature.
Then you can use filter function like $filter=padright(ProductName, 5) eq 'Abcd'.