Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

Hi,i cleared the first round in Microstrategy and my second round(project manager) is scheduled so can any one tel me what r they asked and gv me some steps how i wil tel them?

1 Answers  

What is keyword driven testing? what is the difference between severity and priority?

2 Answers   Mind Tree,

How does winrunner Recognize Objects in an application?

1 Answers   BirlaSoft,

What is tsl? What 4gl is it similar too?

0 Answers  

Dear all i am new to testing my company using and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.

0 Answers  

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

0 Answers  

What all are the different databases winrunner can support?

0 Answers  

how to perform regression testing using winrunner?

1 Answers  

How to close the winrunner window from the script itself?what is the code?

2 Answers   EDC,

how to open an application

1 Answers   Polaris,

What is context sensitive Recording?

7 Answers   Second Foundation,

What is the difference between bitmap checkpoint and image checkpoint?

1 Answers   Ness Technologies,