Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data Table and descriptive programing
#16
Solved: 11 Years, 8 Months, 1 Week ago
Hi ,

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 ...Smile
Reply


Messages In This Thread
Data Table and descriptive programing - by laura - 06-22-2009, 08:18 PM
RE: Data Table and descriptive programing - by sreekanth chilam - 06-25-2009, 01:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Select checkbox from data table value jayraocourts 0 1,417 11-01-2019, 10:25 PM
Last Post: jayraocourts
  Descriptive programing kedala 1 2,913 10-04-2016, 09:25 PM
Last Post: venkatesh9032
  How to get center data value in a odd number of rows and columns web table ... sai rajesh 0 2,973 11-13-2013, 10:24 PM
Last Post: sai rajesh
  DP is not returning the whole table data content soumen 6 5,539 10-02-2013, 12:05 PM
Last Post: vvcyril
  Web Table Descriptive Language karraaruna 3 3,637 07-04-2013, 08:06 PM
Last Post: karraaruna

Forum Jump:


Users browsing this thread: 1 Guest(s)