[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: concat vs format
From: |
Drew Adams |
Subject: |
RE: concat vs format |
Date: |
Sat, 8 Dec 2018 20:09:11 -0800 (PST) |
> Is there a difference between:
> (concat firstPartofURL secondPartofURL) and
> (format "%s%s" firstPartofURL secondPartofURL)?
If both args are strings then no; the result
is the same. But the functions are very
different - they take different args and,
aside from some cases like this one where
the result is the same for some args, their
uses/purposes are different.
- concat vs format, Jean-Christophe Helary, 2018/12/08
- RE: concat vs format,
Drew Adams <=