From: "Thomas B." Date: 2008-09-01T17:42:03+09:00 Subject: Re: How to make a string upcase? Zhao Yi wrote: > I want to change a string to upcase like below: > > name=@value.upcase > > But got this error: dynamic constant assignment If your variable's name is uppercase then it's a constant. This can produce the error: Val=@value.upcase Don't start local variable names with uppercase. -- Posted via http://www.ruby-forum.com/.