Skip to content

Commit

Permalink
Add doc on string slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
linsword13 committed Oct 1, 2024
1 parent 3200838 commit d3cad76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ramble/docs/workspace_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit d3cad76

Please sign in to comment.