【问题标题】:inject html markup around random words in string using c#使用 c# 在字符串中的随机单词周围注入 html 标记
【发布时间】:2010-12-05 19:24:04
【问题描述】:

想在字符串中的随机单词周围注入html标记

"this is a string for this question" 结果应该是"this is a string for this question"。我想用 c# 来做。插入引号以使标记出现

【问题讨论】:

  • 插入引号以显示标记是什么意思?

标签: c# html string


【解决方案1】:

对于您知道的每个图例,replace 解释术语的每次出现都带有相应的 HTML。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-03-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多