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

Where can I find a tutorial on WinRunner 7.0?

1 Answers  

In an Interview on person asked me about WR frame work. in what way i have to explain and what is the answer?

2 Answers   Stag Computers,

how can we upload manul test caseses in to test director

1 Answers  

how many license keys are there for winrunner in your company?

3 Answers   MBT,

how many types of run modes are there in Winrunner

2 Answers   SAP Labs,

Which function in TSL invokes AUT

3 Answers  

which TSl statement is used in winrunner to stop the Run

5 Answers  

how will u perform bug tracking using winrunner?

1 Answers   MBT,

Will TSL supports function overloading and operator overloading?

1 Answers   Accenture,

what is the winrunner framework?

1 Answers   Agile Software, GE,

How to check the Back Ground Color of screen in Winrunner?

3 Answers   3i Infotech, Satyam,

In an Testing Interview, in winrunner the following question asked. what is the use of compile module? how u r implemnted these compile modules in ur project. give any TSL script of compile module?

1 Answers