Skip to content
Tim Bourguignon edited this page Mar 8, 2014 · 3 revisions

Use the EitherOf(string) function to simulate a list of Or operators. The parameter passed is to be formatted using "pipes" | to separate the different letters/group of letters:.EitherOf("a|e|i|u|o").

Following this convention, you can then mix up characters and strings. The following will produce the string a|e|iy|uo :

var result = se
    .EitherOf("a|e|iy|uo")
    .Generate();
Clone this wiki locally