heat/heat/engine/hot
Steven Hardy 80fe9e2327 Add str_split function to HOT 2015-10-15
Adds a new intrinsic function to split strings into lists, and optionally
return a specific list item by index (similar to get_attr/get_param path
based attributes).

Syntax is:

str_split: [",", "apples,pears"]

which returns ["apples", "pears"]

Or with an optional index:

str_split: [",", "apples,pears", 1]

which returns "pears"

Change-Id: Ibc7a315bee278b8a49e44475206361b639536688
blueprint: str-split
2015-07-01 15:54:04 +01:00
..
__init__.py Move HOT template code to its own module 2014-03-06 10:05:07 -05:00
functions.py Add str_split function to HOT 2015-10-15 2015-07-01 15:54:04 +01:00
parameters.py Added pseudo param OS::project_id 2014-12-22 16:02:54 +08:00
template.py Add str_split function to HOT 2015-10-15 2015-07-01 15:54:04 +01:00