Skip to main content

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​

NameValueDescription
Trim0Trims whitespace from both ends of the string.
TrimStart1Trims whitespace from the beginning (left side) of the string.
TrimEnd2Trims whitespace from the end (right side) of the string.
ToUpper3Converts the string to uppercase.
ToLower4Converts the string to lowercase.
SubstringFromStart5Extracts a substring from the beginning of the string with specified length.
SubstringFromEnd6Extracts a substring from the end of the string with specified length.
Substring7Extracts a substring starting at a specific position with optional length.
RegexExtract8Extracts 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.