相关疑难解决方法(0)

java中的字符串解析

在Java中执行以下操作的最佳方法是什么?我有两个输入字符串

this is a good example with 234 songs
this is %%type%% example with %%number%% songs
Run Code Online (Sandbox Code Playgroud)

我需要从字符串中提取类型和数字.

这种情况下的答案是type ="a good"和number ="234"

谢谢

java string parsing

4
推荐指数
1
解决办法
805
查看次数

标签 统计

java ×1

parsing ×1

string ×1