Using the Search REST API to get all users where their last name begins with a certain letter to make a custom user directory. For example, I hoped that the following would return all users that have a last name that starts with A:
However, that A* is really looking for words that start with A, not last names that start with A, so the above will return users with hyphenated last names where the second part starts with A. So the above will return “Carter-Adams” as part of the result set, which is not what I want.
How do I search to get values where the entire value starts with a certain string, rather than where any word in the value starts with that string?