Re: How to get a ordered text combining Text and values

*To*: mathgroup at smc.vnet.net*Subject*: [mg89802] Re: [mg89755] How to get a ordered text combining Text and values*From*: "J. McKenzie Alexander" <jalex at lse.ac.uk>*Date*: Sat, 21 Jun 2008 05:28:49 -0400 (EDT)*References*: <200806191028.GAA28109@smc.vnet.net>

StringForm is what you want, as it is a bit like C's printf. You may need to wrap it with ToString. In[2]:= ToString@StringForm["One: ``, Two: ``, Three: ``", 1, 2, 3] Out[2]= "One: 1, Two: 2, Three: 3" On 19 Jun 2008, at 11:28, Miguel wrote: > How can I to get a correct label in this case: > In[]: k=18; > Text["My curve for" k "units"] > > Out[]: My curve for 18 units > > Thanks > -- Dr J. McKenzie Alexander Department of Philosophy, Logic and Scientific Method London School of Economics and Political Science Houghton Street, London WC2A 2AE Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm

**References**:**How to get a ordered text combining Text and values***From:*Miguel <misvrne@gmail.com>