string method for mat4