ActionEngineUtilEnumerateRange Method

Return a list of items representing the start through end of the range.

Definition

Namespace: ActionEngine
Assembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
C#
public static List<string> EnumerateRange(
	StartEndItem range,
	int digitCount = 0,
	string defaultExtension = ""
)

Parameters

range  StartEndItem
Reference to the range to enumerate.
digitCount  Int32  (Optional)
Count of digits required on the output value.
defaultExtension  String  (Optional)
The default extension to add to the files in the range if one has not been supplied on the range itself.

Return Value

ListString
Reference to a newly created list of items enumerating all of the possible items in the range.

Remarks

In this version, a single numerical seed can be surrounded by any non-numerical value. If more than one numerical seed exist in the source string, those values will be treated as literal. If no numerical values are provided, or the pattern doesn't match between start and end values, only the start and end values are returned.

See Also