Added more string functions; improved compatibility; added tests; modified documentation generator