我在sql server 2012中獲得了包含帶鏈接文本的數據<a href="test/test">test </a>
無目標我需要爲字符串數據添加目標。我需要爲此創建一個用戶定義的函數。有沒有人有這樣的示例代碼。使用UDF在字符串中爲href添加目標='_ blank'的最佳方式
示例文本 -
If you've ever thought one of your text message threads was so good it deserved to be published, you may be on to something.view. <a href="/apple/sdffsd/sdffs">njkhj </a> In future iterations, users will be able to post .<br><br>You may update your email address at any time by going to <a href="/apple/fafasdf/sdfsdf">sdffsd</a>. Our whole goal is to have the reader go through an entire narrative arc in five minutes and consume it in a way that's native to mobile," says Gupta go to <a href="https://stackoverflow.com/a/s/sdfsf"> sdfsdf </a> which is one of my favorite books, is told as letters back and forth between the two main
你有什麼研究,嘗試過,發現不起作用? SO並不是您要求量身定製的解決方案的地方,同時您也毫不費力。 – dfundako
請詳細說明目標'我需要添加目標' – TheGameiswar
由於'target ='_ blank''在瀏覽器外部是無用的,您是否可以在應用程序中管理它?就像那樣:http://stackoverflow.com/questions/7901679/jquery-add-target-blank-for-outgoing-link? –