如何在剪贴板中使用C#和strore在字符串中提取一些值 [英] How to extract some values in string using C# and strore in clip board

查看:87
本文介绍了如何在剪贴板中使用C#和strore在字符串中提取一些值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在剪辑板上有一个字符串。



我只需从这些值中提取数字



如何使用C#

I am having a string on clip board.

I need to extract only numbers from that values

How to do this using C#

推荐答案

您可以使用 字符串 [ ^ ]方法,用于提取子字符串,拆分或以其他方式解析数据。但是,如果您需要进一步的帮助,我们需要更多信息。
You can use one of the String[^] methods, to extract substrings, split or otherwise parse the data. However, we need more information if you want further help.


这篇关于如何在剪贴板中使用C#和strore在字符串中提取一些值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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