[String] close #4 + updated String and its tests to use mbstring function if the extension is loaded