本文介绍了字符串如何转换为超链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个列表视图,其中通过String变量不断更新提要.

我想提供用户工具来打开直接出现在消息中的链接.例如

$ ASX消息:xxxxxxxx ... 1234 .. www.yahoo.com

$ ASX消息:xxxxxxxx ... 1234 .. www.google.com

$ ASX消息:xxxXXXxx ... 1234 .. www.msn.com

我希望该消息像上面的示例一样显示,并且需要定向以在单击时在iexplorer中打开相关页面.

由于我以字符串消息形式获取这些消息,因此无法将其显示为链接.

请帮忙

问候,

Ashish

Hi,

I have a list view in which I am continuously updating feeds through a String variable.

I wanted to provide the user facility to open the links directly coming in the messages. e.g.

$ASX Message : xxxXXXxx...1234.. www.yahoo.com

$ASX Message : xxxXXXxx...1234.. www.google.com

$ASX Message : xxxXXXxx...1234.. www.msn.com

I want the message to be displayed like above example and needed to be directed to open the relevent page in iexplorer when clicked.

Since I am getting these as string messages I am unable to display them as link.

Please help

Regards,

Ashish

推荐答案




这篇关于字符串如何转换为超链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 09:30