help-gnu-emacs
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]