what is split function?Give me the syntax?

Answers were Sorted based on User's Feedback

what is split function?Give me the syntax?..

Answer / guest

Split function will split the String expression accoring to
the split seperator that u mentioned..
For Ex: uname="suresh babu";
count=split(uname,arr1," ");
if u used that functin it will split the string into
two elements namely suresh and babu and store in the arr1
i.e arr1[]="suresh";
and count variable consists of number of elements in the

Any further info..welcome..

Is This Answer Correct ?    4 Yes 1 No

what is split function?Give me the syntax?..

Answer / jagadesh

Split function is used to split the data

Ex:Change the date formate from DD/MM/YYYY to MM/DD/YYYY
using Split Function

(Now the valuse are arr[0]= DD arr[1] = MM arr[2] = YYYY)

Date1 = arr[1]& "/" & arr [0] & "/" & arr[2]
(now Date1 = MM/DD/YYYY)

Is This Answer Correct ?    1 Yes 0 No

what is split function?Give me the syntax?..

Answer / udaykumar

The syntax is incorrect, it does not return any value,
means the no. of values in the array. It simply stores in
the array.
str="Hello uday how r u"
split(str,arr," ");
Here arr[0]="Hello",arr[1]="uday",arr[2]="how",arr[3]

Simply to say it divide like, whenever a space found in the

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More WinRunner Interview Questions

How do you analyze results and report the defects?

1 Answers  

What is Global GUI Map?

3 Answers   Tomax,

What is the function in WR for replacing the existed data to blank?

1 Answers  

How to Import(insert) data from an excel sheet to Database(table).

2 Answers   GE Capital, iGate,

Why don’t we normally load the gui maps through start up scripts?

0 Answers  

How does WinRunner recognize objects on the application?

3 Answers  

Explain the purpose of gui map configuration?

0 Answers  

What is the default type of constant TSL supports?

1 Answers  

How does WinRunner evaluate test results?

1 Answers  

Have you ever written test cases or did you just execute those written by others?

2 Answers  

How to get the system date and time in winrunner?

2 Answers   Accenture,

How do you do digital signature test in winrunner?

7 Answers