dimanche 1 mars 2015

Adding a character that deletes previous characters.in a string

Are there characters that can delete other characters in a string in vb.net?


Example:



Dim del_char = "character that deletes previous string"
Dim str = "My Name"
Dim str2 = "Sinomra"

Dim new_str = str & del_char & str2
'so the result of the new_str should be "Sinomra"

Aucun commentaire:

Enregistrer un commentaire