Function: org-babel-string-read

org-babel-string-read is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-string-read CELL)

Documentation

Strip nested "s from around CELL string.

When CELL is not a string, return CELL.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-string-read (cell)
  "Strip nested \"s from around CELL string.
When CELL is not a string, return CELL."
  (org-babel-read (or (and (stringp cell)
                           (string-match "^[[:space:]]*\"\\(.+\\)\"[[:space:]]*$" cell)
                           (match-string 1 cell))
                      cell) t))