Function: table--string-to-number-list

table--string-to-number-list is a byte-compiled function defined in table.el.gz.

Signature

(table--string-to-number-list STR)

Documentation

Return a list of numbers in STR.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--string-to-number-list (str)
  "Return a list of numbers in STR."
  (let ((idx 0)
	(nl nil))
    (while (string-match "[-0-9.]+" str idx)
      (setq idx (match-end 0))
      (setq nl (cons (string-to-number (match-string 0 str)) nl)))
    (nreverse nl)))