MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Variable question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92468] Variable question
  • From: Johney at giganews.com
  • Date: Wed, 1 Oct 2008 18:29:47 -0400 (EDT)

I have the following test code

c = 3
var = "c"
v = StringTake[var, {1}]
v


v is showing up as c but I want it to show up as 3.  Is there a way to do this?

Thanks



  • Prev by Date: Simplifying Bessel Functions
  • Next by Date: Expressing values in the legend in terms of original data
  • Previous by thread: Re: Simplifying Bessel Functions
  • Next by thread: Re: Variable question