strutils.%
proc `%`(formatstr: string; a: openArray[string]): string
- Kind
- proc
- Module
strutils
Source: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
The entries of strutils in the Nim reference. This page has 91 cards.
proc `%`(formatstr: string; a: openArray[string]): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc abbrev(s: string; possibilities: openArray[string]): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc addf(s: var string; formatstr: string; a: varargs[string, `$`])
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc addSep(dest: var string; sep = ", "; startLen: Natural = 0)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc align(s: string; count: Natural; padding = ' '): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc alignLeft(s: string; count: Natural; padding = ' '): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const AllChars
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc allCharsInSet(s: string; theSet: set[char]): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc capitalizeAscii(s: string): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc center(s: string; width: int; fillChar: char = ' '): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cmpIgnoreCase(a, b: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc cmpIgnoreStyle(a, b: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc contains(s: string; chars: set[char]): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc continuesWith(s, substr: string; start: Natural): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc count(s: string; sub: char): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc countLines(s: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc dedent(s: string; count: Natural = indentation(s)): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc delete(s: var string; first, last: int)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const Digits
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc endsWith(s: string; suffix: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc escape(s: string; prefix = "\""; suffix = "\""): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc find(a: SkipTable; s, sub: string; start: Natural = 0; last = -1): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc format(formatstr: string; a: varargs[string, `$`]): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc formatSize(bytes: int64; decimalSep = '.'; prefix = bpIEC; includeSpace = false): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc fromBin[T: SomeInteger](s: string): T
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc fromHex[T: SomeInteger](s: string): T
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc fromOct[T: SomeInteger](s: string): T
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const HexDigits
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const IdentChars
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const IdentStartChars
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc indent(s: string; count: Natural; padding: string = " "): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc indentation(s: string): Natural
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc initSkipTable(a: var SkipTable; sub: string)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc insertSep(s: string; sep = '_'; digits = 3): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc intToStr(x: int; minchars: Positive = 1): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isAlphaAscii(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isAlphaNumeric(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isDigit(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isEmptyOrWhitespace(s: string): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isLowerAscii(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isSpaceAscii(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc isUpperAscii(c: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc join(a: openArray[string]; sep: string = ""): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const Letters
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const LowercaseLetters
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc multiReplace(s: openArray[char]; replacements: varargs[(set[char], char)]): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const Newlines
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc nimIdentNormalize(s: string): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc normalize(s: string): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseBiggestInt(s: string): BiggestInt
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseBiggestUInt(s: string): BiggestUInt
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseBinInt(s: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseBool(s: string): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseEnum[T: enum](s: string): T
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseFloat(s: string): float
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseHexInt(s: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseHexStr(s: string): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseInt(s: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseOctInt(s: string): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc parseUInt(s: string): uint
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const PrintableChars
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const PunctuationChars
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc removePrefix(s: var string; c: char)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc removeSuffix(s: var string; c: char)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc repeat(c: char; count: Natural): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc replace(s: string; sub, by: char): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc replaceWord(s, sub: string; by = ""): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc rfind(s: string; sub: char; start: Natural = 0; last = -1): int
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc rsplit(s: string; sep: char; maxsplit: int = -1): seq[string]
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc spaces(n: Natural): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc split(s: string; sep: char; maxsplit: int = -1): seq[string]
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc splitLines(s: string; keepEol = false): seq[string]
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc splitWhitespace(s: string; maxsplit: int = -1): seq[string]
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc startsWith(s: string; prefix: char): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc strip(s: string; leading = true; trailing = true; chars: set[char] = Whitespace): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc stripLineEnd(s: var string)
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toBin(x: BiggestInt; len: Positive): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toHex(s: string): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toLowerAscii(c: char): char
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toOct(x: BiggestInt; len: Positive): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toOctal(c: char): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toUpperAscii(c: char): char
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc trimZeros(x: var string; decimalSep = '.')
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc unescape(s: string; prefix = "\""; suffix = "\""): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc unindent(s: string; count: Natural = int.high; padding: string = " "): string
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const UppercaseLetters
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc validIdentifier(s: string): bool
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const Whitespace
strutilsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.