String的案例演示

/** 需求!
*已知:String str = “this is a text”
* 1.str中的单词单独获取出来
* 2.str中的text替换为practice
* 3.text前面插入一个easy
* 4.将每个单词的首字母改为大写
* */

 

 


posted @ 2022-10-29 16:59  king锦标  阅读(25)  评论(0)    收藏  举报