pls can anybody help with how to insert a bracket into a string after the count of 3 characters in vb6

Hi
You can use Mid() Function to insert a character
Here an Example

Dim s as String 

s = "Hai Visual Basic"

s = Mid ( s, 1, 3 ) & "(" & Mid ( s, 4 )
Msgbox s

Here break the string into two Strings and insert a character then concatenate the Strings

you can use string functions with concatination or just follow the previous post.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.