Replace space with tab in a string

Hi All,

Can someone help me to replace space with tab in a string
I dont want to use spaces ,

Thanks

@Hitesh1,

the ASCII value of tab key is 9. so you can use yourStringVar.Replace(" ", Chr(9))

2 Likes

Thankyou, It worked

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.