Insert character
C#
3
Posts
3
Posters
1
Views
1
Watching
-
Hi, Kindly help me that, How can I insert a character between any string value? Example: string value is : ABC/DEF/GHI after inserting..........: ABC-DEF-GHI Thank you in advance
-
Hi, Kindly help me that, How can I insert a character between any string value? Example: string value is : ABC/DEF/GHI after inserting..........: ABC-DEF-GHI Thank you in advance
Use the Insert method of the string class. However, in your example you replaced a character with another one. In this case use the Replace method.
-
Hi, Kindly help me that, How can I insert a character between any string value? Example: string value is : ABC/DEF/GHI after inserting..........: ABC-DEF-GHI Thank you in advance