Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Gallery navigator
Toggle ButtonsEnabled Property of a Flash Sprite
Find out which cast members use a given font
WebCamXtra - Computer Vision & Camera Tracking
Generic behavior to create a Shortcut
Increase/ Decrease ViewScale Property of a Flash Member
Text Member Menu System
QuickTime Installer
QuickTime VR 2
Fade
 

 

 

Behavior Simple Character Substitution

Added on 6/30/1999

 

Compatibilities:
D6_5 D7 D8 Mac PC Script

This item has not yet been rated

Author: AlanLevine

Substitutes Characters.

on replaceChar str, oldChar, newChar
  -- replaces all occurences of oldChar in str with newChar
  -- ok for use in small input, it would be slow for large text
  repeat while str contains oldChar
    put newChar into char (offset (oldChar, str)) of str
  end repeat
  return str
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail