Skip to content

Commit

Permalink
Merge pull request #669 from linsword13/str-slice-doc
Browse files Browse the repository at this point in the history
Add doc on string slicing
  • Loading branch information
douglasjacobsen authored Oct 2, 2024
2 parents 3200838 + d3cad76 commit ac89705
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 ac89705

Please sign in to comment.