org-babel-chomp
org-babel-chomp is a compiled Lisp function in `ob-core.el
'.
(org-babel-chomp STRING &optional REGEXP)
Strip trailing spaces and carriage returns from STRING.
Default regexp used is "[
]" but can be
overwritten by specifying a regexp as a second argument.