The Graph API supports StartsWith, EndsWith and Contains operators for this, as detailed here: https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http#operators-and-functions-supported-in-filter-expressions
Be aware that not every property will support said operators though.