diff options
Diffstat (limited to 'src/jake2/server/scrap.jpage')
-rw-r--r-- | src/jake2/server/scrap.jpage | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/jake2/server/scrap.jpage b/src/jake2/server/scrap.jpage deleted file mode 100644 index 1666502..0000000 --- a/src/jake2/server/scrap.jpage +++ /dev/null @@ -1,24 +0,0 @@ - - -String p="\"123456\""; - -System.out.println(p.substring(1,p.length()-1)); - -
String path ="c:/baseq2/game/*.sav"; - String findbase; - String findpattern; - - int i = path.lastIndexOf('/'); - if (i!=-1) - { - findbase = path.substring(0,i); - findpattern = path.substring(i+1,path.length()); - } - else - { - findpattern = "*"; - findbase = path; - } - - - System.out.println(findbase + ":" + findpattern);
\ No newline at end of file |