A string comparison functions that returns the same result as strcmp
Checks if C string p starts with needle.
Strips one leading line terminator of the given string.
Copy the content of src into a C-string ('\0' terminated) then call dg
Slices a \0-terminated C-string, excluding the terminator
* Infers the length N of a string literal and coerces its type to a static * array with length N + 1. Returns the string with a null character appended * to the end. * * Params: * literal = string literal * * Notes: * - LDC produces quite optimal code for short strings: * - https://d.godbolt.org/z/M69Z1g * - https://gist.github.com/PetarKirov/338e4ab9292b6b2b311a3070572a07fb (backup URL)
Compare two slices for equality, in a case-insensitive way
Contains various string related functions.