Thanks for the responses. Split function by default returns a 1-dimensional string array. This forces me to declare my array variable as "string" although i know that my array only has integers. I think there is a performance penalty in doing the boxing from "string" to "int" on each array element.May be I can have a "(Type T() of Integer) and use a function that splits a string into a 1-dimensioanl array of integers so that I don't have to do the cast from string to int
Depending on what you are doing, if this operation is being done multiple times a session, then a compiled Regular Expression to parse out the items may give you a speed enhancement over the split.
Performance- Code Snippet
jitendra badkas
Thanks,
Prakash
engloon
Sandrina
And the split method works with a string - so calling this is splitting a string to make and array of string based upon the separator characters.
Generics is not going to help you here - as the method itself is based around splitting a string.
camtx1400
MarsDK