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