Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 changing from capitals to non-capitals NEED HELP
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
questionableninja




PostPosted: Thu Jan 03, 2008 7:02 pm   Post subject: changing from capitals to non-capitals NEED HELP

I have a program that reads files I have previously made, I have to make all the words undercase when some of them are capitals along with some other stuff to do with punctuation. I was just wondering if there is a procedure of some kind that reads every letter and allows for changes to be made.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Jan 03, 2008 8:47 pm   Post subject: RE:changing from capitals to non-capitals NEED HELP

yes, it involves a for-loop the size of the word being processed.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Clayton




PostPosted: Fri Jan 04, 2008 1:26 pm   Post subject: RE:changing from capitals to non-capitals NEED HELP

Or you could cheat and look up a handy function in the Str. module.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: