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

How do you find out which is the start up file in winrunner?

857


What is debug mode in Winrunner?

1940


When do you feel you need to modify the logical name?

848


What is the difference between writing a function and writing a script?

1040


Explain difference between winrunner and test director?

903


Without the gui map, use the phy desc directly?

819


How should we write and execute a user define function using WinRunner.

1866


What are the three modes of running the scripts?

815


What is the use of gui map and what happens when gui map file get loaded?

947


What do you verify with the database check point custom and what command it generates, explain syntax?

894


Define parameterizing?

845


What is the XML test cases creation?

2465


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

1838


What are the platforms that WinRunner can be used?

1839


two file is there how will compate it by useing qtp.

1973