如何替换“&"和在中间,例如::"tnsc&股份有限公司"到"tnsc and corporation limited"; [英] how to replace"&" to "and " in the intermediary eg::"tnsc & corporation limited" to "tnsc and corporation limited"

查看:57
本文介绍了如何替换“&"和在中间,例如::"tnsc&股份有限公司"到"tnsc and corporation limited";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

strPath = ConfigurationSettings.AppSettings("KeyMis") + "ApprovalPolicies.rdf"
      strPath = strPath & "&CHANNAL_TYPE=" & Trim(drpIntermediary.SelectedItem.Value) & "&BRANCHOFFICE=" & Trim(drpOffice.SelectedItem.Value) & "&FROM_DATE=" & Trim(txtFrmDate.Text) & "&TO_DATE=" & Trim(txtTodate.Text) & "&FROM_INTERMEDIARY_ID=" & Trim(txtFrmIntr.Text) & "&TO_INTERMEDIARY_ID=" & Trim(txtTointr.Text) & "&USERNAME=" & Trim(strUNmDet)
      strPath = strPath & "&USERID=" & Trim(strUidDet) & "&USER_ID=" & Trim(strUNmDet)
      strPath = strPath + strMore
      

      'response.write(strPath)

推荐答案

我无法弄清楚strPath中将具有什么值
但是从您的问题中
如果您单独拥有strpath ="tnsc&corporation"
那么您可以将其显示为response.write(strPath.Replace(&","and")).
I cant figure out what value you will be having in strPath
However from your question
if u have strpath="tnsc&corporation" alone
then you can display it as response.write(strPath.Replace("&", "and")).


这篇关于如何替换“&"和在中间,例如::"tnsc&股份有限公司"到"tnsc and corporation limited";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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