(#43) string: added new function string.format as simpler replacement for text library.