• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOFileUpload: checking against Windows filepath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOFileUpload: checking against Windows filepath


  • Subject: Re: WOFileUpload: checking against Windows filepath
  • From: Randall Perry <email@hidden>
  • Date: Sat, 24 Jul 2004 13:48:11 -0400

Das bearbeitet, Dank. (Translation by Sherlock :)



on 7/24/04 7:18 AM, Ute Hoffmann at email@hidden wrote:

> Hi,
> I use this bit of code to check for windows and get the filename.
>
> bildName = NSPathUtilities.lastPathComponent(aFileName);
>    if(bildName.indexOf("\\")!=-1){
>       int letzterPfadbestandteil = bildName.lastIndexOf("\\");
>        String nurBildName =
> bildName.substring(letzterPfadbestandteil+1);
>       bildName = nurBildName;
>       }
>
> Hope that helps,
>
> Ute
>

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: WOFileUpload: checking against Windows filepath (From: Ute Hoffmann <email@hidden>)

  • Prev by Date: multiple wocheckbox in form
  • Next by Date: re: multiple wocheckbox in form
  • Previous by thread: Re: WOFileUpload: checking against Windows filepath
  • Next by thread: multiple wocheckbox in form
  • Index(es):
    • Date
    • Thread