Changeset 230 for trunk/lingosource/castlib1/alexUtilities.ls
- Timestamp:
- 03/21/09 11:50:29 (3 years ago)
- File:
-
- 1 edited
-
trunk/lingosource/castlib1/alexUtilities.ls (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lingosource/castlib1/alexUtilities.ls
r228 r230 3530 3530 end 3531 3531 3532 3533 -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 3534 3535 on mStripFunnyCharsFromFileName me, theFileName 3536 3537 offs = offset(" ", theFileName) 3538 repeat while offs > 0 3539 put "_" into char offs of theFileName 3540 offs = offset(" ", theFileName) 3541 end repeat 3542 3543 offs = offset("/", theFileName) 3544 repeat while offs > 0 3545 put "_" into char offs of theFileName 3546 offs = offset("/", theFileName) 3547 end repeat 3548 3549 offs = offset(":", theFileName) 3550 repeat while offs > 0 3551 put "_" into char offs of theFileName 3552 offs = offset(":", theFileName) 3553 end repeat 3554 3555 offs = offset("\", theFileName) 3556 repeat while offs > 0 3557 put "_" into char offs of theFileName 3558 offs = offset("\", theFileName) 3559 end repeat 3560 3561 offs = offset("&", theFileName) 3562 repeat while offs > 0 3563 put "_" into char offs of theFileName 3564 offs = offset("&", theFileName) 3565 end repeat 3566 3567 return theFileName 3568 3569 end 3570
Note: See TracChangeset
for help on using the changeset viewer.
