A
AAaron123
I want to loop through an array of strings (full file paths) and find the
shortest one.
So I'd like to create a string variable of about 500 characters long and
each time I fine a file path string shorter than the variable's length I'll
store the path string in the variable.
1) Is there a better way.
2)If not, how do I initialize a String to have a length of 500 characters?
3)I believe the longest full path name is 460 characters (I'm not sure if
it needs a couple of spaces for nulls at the end) so really a initial length
of 460 would be long enough. Right?
Thanks
shortest one.
So I'd like to create a string variable of about 500 characters long and
each time I fine a file path string shorter than the variable's length I'll
store the path string in the variable.
1) Is there a better way.
2)If not, how do I initialize a String to have a length of 500 characters?
3)I believe the longest full path name is 460 characters (I'm not sure if
it needs a couple of spaces for nulls at the end) so really a initial length
of 460 would be long enough. Right?
Thanks