You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/templates.md
+16
Original file line number
Diff line number
Diff line change
@@ -257,6 +257,22 @@ Valid random functions:
257
257
258
258
> Note: the syntax for `random` is slightly different to the other placeholder types. These are functions, not properties, so are called with parentheses.
259
259
260
+
#### Customise length
261
+
262
+
Customise the length of the generated value by passing `length=NUM` argument into the function.
263
+
264
+
For example: `${random.alphabetic(length=5)}`
265
+
266
+
This applies to the following functions:
267
+
268
+
- alphabetic
269
+
- alphanumeric
270
+
- numeric
271
+
272
+
#### Uppercase
273
+
274
+
Convert the generated value to uppercase by passing `uppercase=true` argument
275
+
260
276
### Items in a Store
261
277
262
278
You can use items from a [Store](./stores.md), including data [captured](./data_capture.md) previously, or set by a script.
0 commit comments