T0 Replace space in String
guiderpa
Mar 22, 2022
1 min read
To replace Space , Double quotes or any kind of special characters in String we can use this code.
Code : Yourvariable.tostring.Replace(chr(32),"")
Above code replaces Space with null in string
Ex: My name is
Output : Mynameis
Link to get Chr Values :
https://www.w3schools.com/charsets/ref_html_ascii.asp#:~:text=The%20ASCII%20Character%20Set&text=ASCII%20is%20a%207%2Dbit,are%20all%20based%20on%20ASCII.
Comments