Semantic alias for an array of immutable bytes containing some ASCII-based 8-bit character encoding. Might be UTF-8, but not necessarily - thus, is a semantic superset of the D "string" alias.
Lowercases or uppercases a string in-place.
Returns true if s does not contain any characters which are not in chars.
Basic string-to-integer conversion. Doesn't check for overflows.
Returns true if s contains only digits (excluding an optional leading '-') and is non-empty.
Returns true if s contains only digits and is non-empty.
Writes n as decimal number to buf (right-aligned), returns slice of buf containing result.
Basic integer-to-string conversion.
CTFE-friendly variant.
Print an unsigned integer as a zero-padded, right-aligned decimal number into a buffer
Maximum number of characters needed to fit the decimal representation of any number of this basic integer type.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Simple (ASCII-only) text-processing functions, for speed and CTFE.