Skip to content

Commit

Permalink
Example update
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Dec 9, 2015
1 parent d684969 commit 99b3374
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public void Create_Context_Related_Person()

##### Replace

Replace a formatted string with random numbers and letters:
Replace a formatted string with random numbers `#`, letters `?`, or `*` random number or letter:
```csharp
[Test]
public void Create_an_SSN()
Expand All @@ -350,10 +350,14 @@ public void Create_an_SSN()

var code = new Randomizer().Replace("##? ??? ####");
code.Dump();

var serial = new Randomizer().Replace("**-****");
code.Dump();
}
/* OUTPUT:
"618-19-3064"
"39E SPC 0790"
"L3-J9N5"
*/
```

Expand Down

0 comments on commit 99b3374

Please sign in to comment.