把它放到数组或集合中 [英] put this into array or collection

查看:91
本文介绍了把它放到数组或集合中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有段落之类的字符串。我想把每行句子放到每个字段中,例如:职称:JOb描述:薪水:部门。

I have string like paragraph. I want to put each sentence of line into each field , ex: job title : JOb description : salary : Department.




目前字符串是这样的 - / *

currently the string is like this - /*

业务管理员



这份工作适用于经验丰富的员工。$


$ 0000 * /

Business Admin

This job is for staff with high experience.

20,0000 */

请有人知道检测到下一行并将它们收集起来。

Please anyone know to detect the next line and put them into collection.







abs

推荐答案

请提供一个示例,因为它当前存在于字符串中字符串来自哪里?更多细节是最好的,否则我们需要提出更多问题,而如果您提供所有细节问题或者不需要您提出任何问题。
Please provide an example as it exists in the string currently and where did the string comes from? More details are best, otherwise we need to ask more question while if you provide all details less questions or no questions from you will be needed.


这篇关于把它放到数组或集合中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆