what is split function?Give me the syntax?

Answer Posted / 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.
Example:
str="Hello uday how r u"
split(str,arr," ");
Here arr[0]="Hello",arr[1]="uday",arr[2]="how",arr[3]
="r",arr[4]="u"

Simply to say it divide like, whenever a space found in the
string
"Hello|uday|how|r|u"

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of virtual object wizard and how it is used?

844


The title of the window consists of date and time.What is the regular expression to recognize the window as unique?

1717


What is the purpose of gui spy?

1030


descriptive program for web application.

1736


Explain difference between winrunner and test director?

888


How to do text matching?

850


How to get the resolution settings?

801


How do you execute your tests from windows run command?

1668


How do you find an object in an gui map.

975


What in contained in the GUI map?

817


Name the three modes of running the scripts?

744


when start testing

2379


you hae a inbox and got a mail how can you know it is there or not write script.

1776


What is the extension of gui map file?

1018


Write test scripts on a scenario where you have to transfer data from one table to another.

1816