gameforge - v0.1.12
    Preparing search index...

    Function createStringVariations

    • Creates a list of all possible combinations of the given strings.

      Parameters

      • string: string

        The string to process

      Returns string[]

      const out2 = createStringVariations('name is {chicken,wolf,sheep}');
      console.log(out2); // [ 'name is chicken', 'name is wolf', 'name is sheep' ]