On 2014-04-18 15:17, Bastien <b...@gnu.org> writes:

> Hi Alan,
>
> Alan Schmitt <alan.schm...@polytechnique.org> writes:
>
>> #+TBLFM: $2='(org-sbe spending (c (concat "\"" $1 "\"")))::$3='(org-sbe 
>> spending (c (concat "\"" (org-babel-trim $1) "\"")))
>
> You need to swap "concat" and "org-babel-trim" like this:
>
>> #+TBLFM: $2='(org-sbe spending (c (concat "\"" $1 "\"")))::$3='(org-sbe 
>> spending (c (org-babel-trim (concat "\"" $1 "\""))))
>
> Otherwise `org-babel-trim' act upon something that is not a string.

Ah, thanks, this is good to know.

> Btw, org-trim is enough here.

OK, I've replaced it in other places where I was using it.

Thanks again,

Alan

Reply via email to