B
BrianPaul
The Split function returns a zero-based one-dimensional array of substrings.
The syntax is Split(expression, delimiter), where:
expression is the string expression contains substrings and delimiters
delimiter is a string character used to identify substring limits.
In other words, what the Split function is doing is creating a bunch of
substrings, breaking at each \. Split("C:\Ebooks\Web Design\ASP Dot NET Web
Developer's Guide.pdf", "/") will create an array with 4 elements in it.
Element 0 will be "C:", element 1 will be "Ebooks", element 2 will be "Web
Design", and element 3 will be "ASP Dot NET Web Developer's Guide.pdf". The
(2) in Split([fieldname],"\")(2) says only return the 2nd element.
I liked it but couldnt get it to work in the querry.
Exp1:Split([mybook],"\")(2)
Is there anything wrong with it..or do I need to write a function in a
module for it.? Thanks,,,,interesting topic
The syntax is Split(expression, delimiter), where:
expression is the string expression contains substrings and delimiters
delimiter is a string character used to identify substring limits.
In other words, what the Split function is doing is creating a bunch of
substrings, breaking at each \. Split("C:\Ebooks\Web Design\ASP Dot NET Web
Developer's Guide.pdf", "/") will create an array with 4 elements in it.
Element 0 will be "C:", element 1 will be "Ebooks", element 2 will be "Web
Design", and element 3 will be "ASP Dot NET Web Developer's Guide.pdf". The
(2) in Split([fieldname],"\")(2) says only return the 2nd element.
I liked it but couldnt get it to work in the querry.
Exp1:Split([mybook],"\")(2)
Is there anything wrong with it..or do I need to write a function in a
module for it.? Thanks,,,,interesting topic