Hi ,
Lets consider the below example.
x(0) will contain "Welcome"
x(1) will contain "User"
x(2) will contain "10"
Just concatenate the x(1),x(2) by using "&" operator as below
Username=x(1)&x(2)
here Username will contain "User10"
If you want a blank space to be included in username , then try as below.
Username=x(1)&" "&x(2)
here Username will contain "User 10"
You will get the "User 10"
Hope You would get it now ...
Lets consider the below example.
Code:
str="Welcome User 10"
x=split(str," ") ' here x is created as an array.
find the ubound of Array x (say ubound(x)=3 i.e x(0),x(1),x(2))
x(0) will contain "Welcome"
x(1) will contain "User"
x(2) will contain "10"
Just concatenate the x(1),x(2) by using "&" operator as below
Username=x(1)&x(2)
here Username will contain "User10"
If you want a blank space to be included in username , then try as below.
Username=x(1)&" "&x(2)
here Username will contain "User 10"
You will get the "User 10"
Hope You would get it now ...
