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 you integrated your automated scripts from TestDirector?

637


i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.

1585


how can you explain your Real Estate Project in front of interviewer..? please step by step......

1151


How do you modify the logical name or the physical description of the objects in gui map?

649


How to check property of specific icon is highlighted or not?

569






What are the three modes of running the scripts?

558


What are the modes of script recording in winrunner ?

639


What is the XML test cases creation?

2176


What are the platforms that WinRunner can be used?

1602


How do you call windows APIs, explain with an example?

1542


Explain the purpose of different record methods?

624


Explain the purpose of gui spy?

596


What information is contained in the checklist file and in which file expected results are stored?

680


How do you clear a gui map files?

671


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

756