Add more documentation for string functions (see #2147 & #2242)

Conflicts:
	doc/stdlib/base.rst