vjr trim() function development, incomplete