From d3cad76b79cbe75aa8712ec6646a8f26f94f448c Mon Sep 17 00:00:00 2001 From: Lin Guo Date: Tue, 1 Oct 2024 11:59:18 -0700 Subject: [PATCH] Add doc on string slicing --- lib/ramble/docs/workspace_config.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ramble/docs/workspace_config.rst b/lib/ramble/docs/workspace_config.rst index 78d2c3455..161c2566c 100644 --- a/lib/ramble/docs/workspace_config.rst +++ b/lib/ramble/docs/workspace_config.rst @@ -176,6 +176,10 @@ Supported functions are: * ``randint`` (from `random.randint`) * ``re_search(regex, str)`` (determine if ``str`` contains pattern ``regex``, based on ``re.search``) +Additionally, string slicing is supported: + +* ``str[start:end:step]`` (string slicing) + .. _ramble-escaped-variables: ~~~~~~~~~~~~~~~~~