阅读背景:

如何将“https://”添加到一个字符串(如果缺少)

来源:互联网 

I have a string [currentTweet pic] that is supposed to be the URL to a picture (parsed from an XML file). The problem is some of the links are missing the "https://" in the URL so some pictures don't appear. How can I add the "https://" where it's missing? that is supp




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: