AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Object

    String

  • Name

    replace()

  • Examples

    Player: {
    str: "xxyxxy"

    Event: Game_Start {
    print(str.replace("xx","X"))
    // Output: XyXy
    }
    }
  • Description

    Returns a string where any occurrence of a given pattern is replaced by a substring given by str
  • Syntax

    • string.replace(pattern,str)

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen