// parse "10" as a base-16 integer
int("10", 16)
// replace "world" with "BYOND"
replace("Hello, world!", "world", "BYOND")
// split the string into a list of a, b, and c
var/list/l = split("a|b|c", "|")
// turn the list into a comma-separated string
merge(l, ", ")
ID:505255
![]() Mar 12 2012, 10:00 pm
|
|
This library contains some useful procs for dealing with text. There's not a lot of content here and I wouldn't normally post such a small library, but these procs are used by many other libraries. If each library that needs these procs defines them, including two of those libraries will result in a naming collisions.
|