如何从字符串中提取数据 [英] How to Extract data from String

查看:69
本文介绍了如何从字符串中提取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如$ 255 * $ 50 * $ 50 *?
嘿,假设我上面有大约200个单词的传入字符串格式.从那个?...?这些是开始和结束符号.我想从$ .... *提取数据,我可以为此使用数组还是对此更好的解决方案.

For Eg. ?$255*$50*$50*?
hey, suppose i have above incoming string format near about 200 word are there. from that ?...? these are start and end notation. and i want to extract data from $....* can i use array for this or which is better solution for this. i am new in this field.

推荐答案

255 *


50 *


50 *?
嘿,假设我上面有大约200个单词的传入字符串格式.从那个?...?这些是开始和结束符号.我想从
50*?
hey, suppose i have above incoming string format near about 200 word are there. from that ?...? these are start and end notation. and i want to extract data from


这篇关于如何从字符串中提取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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