Various string utils and parsing functions
Parse a SCAN-style algorithm name
string scan_name | the name |
Split a string
string str | the input string |
char delim | the delimitor |
Split a string on a character predicate
string str | the input string |
bool delegate(char) pred | the predicate that returns true to split |
Erase characters from a string
Replace a character in a string
string str | the input string |
char from_char | the character to replace |
char to_char | the character to replace it with |
Replace a character in a string
string str | the input string |
char[] chars | the characters to replace |
char to_char | the character to replace it with |
Join a string
Vector!string strs | strings to join |
char delim | the delimitor |
Parse an ASN.1 OID
string oid | the OID in string form |
Compare two names using the X.509 comparison algorithm
string name1 | the first name |
string name2 | the second name |
Convert a string representation of an IPv4 address to a number
string str | the string representation |
Convert an IPv4 address to a string
uint ip | the IPv4 address to convert |