what is split function?Give me the syntax?
Answers were Sorted based on User's Feedback
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";
arr2[]="babu";
and count variable consists of number of elements in the
array.
Any further info..welcome..
| Is This Answer Correct ? | 4 Yes | 1 No |
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
Date = DD/MM/YYYY
Split(Date,arr,"/")
(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 |
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.
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 |
What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?
How should we write and execute a user define function using WinRunner.
What is the function that can be used to get the length of the edit box, other than 'Length(outvariable)' ?
How to convert Manual Test script into Automation Test Script?
What Is Test policy and what is Test Strategy ? differenciate between them? Explain with examples?
How do you unload the GUI map?
How to get the system date and time in winrunner?
how do you use DLLs in winnrunner?
What is the different between GUI map and GUI map files?
WinRunner will suppost "Cold Fusion"?
can anybody tell me in realtime how tester access web based build and window based build
Can anybody Explain me about the liasing with the developers,and a tester can make a test plan well?plz explain me as soon as possible ,thanx in advance.