xboxscene.org forums

Author Topic: Numeric-only Free Space String?  (Read 131 times)

Unbewoffnet

  • Archived User
  • Newbie
  • *
  • Posts: 14
Numeric-only Free Space String?
« on: January 21, 2004, 11:17:00 PM »

I'm working on a script in which I want to check the free space available on a particular drive.  I know about $ShortDriveFFree$ and $DriveFFree$, but is there a way to get just the number? Instead of  F: 69,024 MB free, just 69024?  I imagine it's possible to use Left, Right, and Replace to crop out the symbols, but it'd be much easier if there were a string I could call.  Thanks in advance.  :)
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Numeric-only Free Space String?
« Reply #1 on: January 22, 2004, 02:49:00 AM »

Not at the moment, but as I'll possibly be adding expressions, I might consider more number-oriented "specials"
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Numeric-only Free Space String?
« Reply #2 on: January 22, 2004, 09:53:00 AM »

You could use the replace function, or the FatXify function, and specify the characters you want to remove.
Logged