Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Groovy Script - Converting to UpperCase

 
Bill Lee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, I am attempting to iterate through a Map and change only it's values to all Caps. Does anyone know how to deal with this? Thanks.

My function changes BOTH keys and values to UpperCase and I only want the values to change.


 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Bill Lee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much! That worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic