Spintax is a collection of words or phrases. Each word/phrase is delimited by | (pipe) character. The Spintax begins with an opening curly bracket { and ends with a closing curly bracket }. A random word/phrase is chosen from each delimited section of the text.
Example: { Her | My | His } favorite color is { Red | Blue | Green | Yellow } With this Spintax we can get the following results:
- His favorite color is Yellow
- My favorite color is Red
- His favorite color is Red
- Her favorite color is Green
- His favorite color is Blue
- My favorite color is Green
- Her favorite color is Red
- Her favorite color is Blue
- My favorite color is Blue
- Her favorite color is Yellow
- His favorite color is Green
From just one line of spintaax it generates 11 different sentences.
Using Dynamic variables within a spinax is possible. Example { #datetime# | #time# }