Function: table--buffer-substring-and-trim
table--buffer-substring-and-trim is a byte-compiled function defined
in table.el.gz.
Signature
(table--buffer-substring-and-trim BEG END)
Documentation
Extract buffer substring and remove blanks from front and the rear of it.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--buffer-substring-and-trim (beg end)
"Extract buffer substring and remove blanks from front and the rear of it."
(save-excursion
(save-restriction
(narrow-to-region (goto-char beg) end)
(if (re-search-forward "\\s *")
(setq beg (match-end 0)))
(if (re-search-forward "\\s *\\'" end t)
(setq end (match-beginning 0)))
(table--remove-cell-properties
0 (- end beg)
(buffer-substring beg end)))))