====== Create String ====== ===== Description ===== This functor generates a string based on contained parameters and a pre-defined format string. ===== Inputs ===== ^ Name ^ Type ^ Description ^ | Format | [[ String Type|String ]] | The format string, used to generate the final string. | ===== Optional Inputs ===== ===== Outputs ===== ^ Name ^ Type ^ Description ^ | Result | [[ String Type|String ]] | The string generated by this functor. | ===== Group ===== [[Functor List#Map Algebra | Map Algebra]] ===== Notes ===== The output string is built from "blocks of strings" inside the format string. For example, if you want an output string "cities_87", where 87 is a number that comes from the [[Step]] functor, you need to write the format string as: \\ cities_ where v1 represents a [[Number Value]] functor inside the "Create String" container. Likewise, if you want to output a string "capitals_1.200", the format will be: \\ capitals_, where 1.2 comes from the number value with a precision of 3 digits. For a valid format, such as string "cities_0001", the format will be cities where 4 is the padding number. Also you can replace parts of the input string with other strings, such as "big_city". In this case, the format string will be: \\ big_ where s1 represents a Number String functor within the "Create String" container. You can prefix "<" with a backslash ("\") to turn it into an ordinary character. For exemple, if you want an output string "cities_<87>", where 87 comes from another functor, you need to write the format string as: \\ cities_\<> ===== Internal Name ===== CreateString