Thursday, 19 June 2014

Split Function:-The Split function will separates a string into substrings and creates a one-dimensional array where each substring is an element.

Syntax:-

Slit(Expression, Delimiter, Count, Compare(optional))

The Split function separates a string into substrings and creates a one-dimensional array where each substring is an element.

Example: -

mystring = "How is velmuruganqa blogs?"

myarray = Split(mystring," ",2,1)   ' here delimiter is space

myarray(0)
myarray(1)

a=myarray(0)  'output is =How
b=myarray(1)  'output is =is

----

Here 2 is nothing but number of count to be occur as array

Compare VALUEDESCRIPTION
0Binary comparison
1Text Comparison
2Compare information inside database

No comments:

Post a Comment