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 XML test cases creation?

2164


What is the difference between gui map and gui map files?

557


What is the purpose of a gui spy?

689


How do you handle dynamically changing area of the window in the bitmap checkpoints?

599


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

588






What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

838


How to force wr to learn the sub-items on a menu?

537


How do you handle pop-up exceptions?

592


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

624


Difference between winrunner and test director?

659


When would you use 'set_window' and when would you use 'win_activate'?

697


write a compilemodule function for loginscreen.

1678


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

602


What is the purpose of set_window command?

698


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

1553