StringOperationDto
Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes.Transforms
Represents a string manipulation operation that can be performed on string data.
public enum StringOperationDto
Inheritance Object → ValueType → Enum → StringOperationDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Trim | 0 | Trims whitespace from both ends of the string. |
| TrimStart | 1 | Trims whitespace from the beginning (left side) of the string. |
| TrimEnd | 2 | Trims whitespace from the end (right side) of the string. |
| ToUpper | 3 | Converts the string to uppercase. |
| ToLower | 4 | Converts the string to lowercase. |
| SubstringFromStart | 5 | Extracts a substring from the beginning of the string with specified length. |
| SubstringFromEnd | 6 | Extracts a substring from the end of the string with specified length. |
| Substring | 7 | Extracts a substring starting at a specific position with optional length. |
| RegexExtract | 8 | Extracts a value from the string with a regular expression. Returns the capture group given by TransformStringNodeConfiguration.GroupIndex (default 1; 0 = whole match), or null when the pattern does not match. With TransformStringNodeConfiguration.AsDecimal the captured text is normalized (strip TransformStringNodeConfiguration.GroupSeparator, replace TransformStringNodeConfiguration.DecimalSeparator with '.') and written as a JSON number. |