Aug 28, 2006 #1 philk12 Programmer Dec 29, 2005 20 US How to dermine the (string) length of this declaration: // File Name object D fileNamex S O Class(*JAVA:'java.lang.String') // trimmed File Name object D tfileName S O Class(*JAVA:'java.lang.String')
How to dermine the (string) length of this declaration: // File Name object D fileNamex S O Class(*JAVA:'java.lang.String') // trimmed File Name object D tfileName S O Class(*JAVA:'java.lang.String')
Aug 28, 2006 #2 Diancecht Programmer Jan 8, 2004 4,042 ES What's that? Cheers, Dian Upvote 0 Downvote
Aug 29, 2006 #3 timw Programmer May 3, 2000 1,264 GB I think you're assuming too much, philk12. The question means nothing to me as it stands, I'm afraid. Tim Upvote 0 Downvote
I think you're assuming too much, philk12. The question means nothing to me as it stands, I'm afraid. Tim
Aug 31, 2006 #4 Miros Programmer Jan 27, 2001 506 US If you have variable that a string with that whole declaration in it, it's variable.length(). If you need the length of the pieces, it's fileNamex.length() and tfileName.length(). That looks more like a piece lopped out of a program in some other language. If that's the case, you use the functions in that language, not Java. Upvote 0 Downvote
If you have variable that a string with that whole declaration in it, it's variable.length(). If you need the length of the pieces, it's fileNamex.length() and tfileName.length(). That looks more like a piece lopped out of a program in some other language. If that's the case, you use the functions in that language, not Java.