Hacker News new | ask | show | jobs
by vszakats 2951 days ago
Such function existed back in Clipper '87, dBase IV, FoxPro and their descendants. Here's a Clipper-compatible implementation in C: https://github.com/vszakats/harbour-core/blob/master/src/rtl...

(Disclaimer: source code author here.)