mickjc750 / str Goto Github PK
View Code? Open in Web Editor NEWC String handling library inspired by Luca Sas
License: The Unlicense
C String handling library inspired by Luca Sas
License: The Unlicense
This may help readers of code using this library to understand what str_t actually is (and isn't).
While it's explained well in the readme, not everyone is going to see the readme.
Perhaps these would be better as a POP operation?
ie. str_pop_ll(str_t* src);
Then the source could be left holding any characters which were not included in the conversion.
If a delimiter is not found, these currently return an invalid str and leave the source unmodified.
The year/month/date example in the readme actually won't work, and these functions shouldn't behave like this.
The correct behaviour should be to return the entire source, and leave the source as an invalid str_t.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.