Re: [PATCH v2 1/2] string: Add strprefix(), and deprecate str_has_prefix()
From: Maciej W. Rozycki
Date: Fri Nov 06 2026 - 21:52:59 EST
On Thu, 5 Nov 2026, Alejandro Colomar wrote:
> Do you think strafterprefix() would be better? Do you have any other
> suggestions?
FWIW strsuffix() seems an obvious choice to me. After all what the API
does is request the string's suffix beyond the specified leading part.
Maciej