Hey guys im trying to replace a string value of 0 with 1.7E. So say you have a string like the following
data=0,101,1,0
When i do the following:
Dim data_source As String = Request.QueryString("data")
Dim strContent As String = data_source.Replace("0", "1.7E")
it's producing the results of 1.7E,11.7E1,1,1.7E What i actually need is it to convert to the following 1.7E,101,1,1.7E So im trying to figure out how to get it to target only )'s that have no trailing or leading numbers. Any help would be appreciated.
Also i should mention that the values are being dynamically populated from a database.
Aucun commentaire:
Enregistrer un commentaire