How do i convert all alphabets to uppercase using transform ignoring digits?

后端 未结 0 408
醉话见心
醉话见心 2020-12-10 14:29

I need to convert only letters in the string to uppercase and tried this piece of code which throws an error.

   s = "Dense-123-Sparse-999" 
   std:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题