IonicWind Software

IWBasic => General Questions => Topic started by: oneplace2u on March 20, 2010, 10:40:54 PM

Title: Catializing the first letter of and output of a input statement.
Post by: oneplace2u on March 20, 2010, 10:40:54 PM
How would a person Catializing the first letter of and output of a input statement?
input "Enter City: ", city$

If I entered minneapolis and wanted it to show Minneapolis
Title: Re: Catializing the first letter of and output of a input statement.
Post by: LarryMc on March 20, 2010, 11:47:53 PM
One way:


input "Enter City: ", city$
city$=ucase$(left$(city$,1))+lcase$(mid$(city$,2))


LarryMc
Title: Re: Catializing the first letter of and output of a input statement.
Post by: oneplace2u on March 21, 2010, 07:00:35 AM
Thank you