Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class HelperParser

Inheritance

↳ object

    ↳ HelperParser

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Helpers

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class HelperParser

Methods

SplitWithTrim(string, string[])

Declaration
public static List<string> SplitWithTrim(string text, string[] delimiter)
Parameters
TypeNameDescription
stringtext
System.String[]delimiter
Returns
TypeDescription
List<string>

SplitWithTrim(string, string)

Declaration
public static List<string> SplitWithTrim(string text, string delimiter)
Parameters
TypeNameDescription
stringtext
stringdelimiter
Returns
TypeDescription
List<string>

Parse2xNList(string, string[], string[])

Declaration
public static List<(string, string)> Parse2xNList(string text, string[] outerDelimiters, string[] innerDelimiters)
Parameters
TypeNameDescription
stringtext
System.String[]outerDelimiters
System.String[]innerDelimiters
Returns
TypeDescription
List<(string, string)>

Parse2xNList(string, string, string)

Declaration
public static List<(string, string)> Parse2xNList(string text, string outerDelimiter, string innerDelimiter)
Parameters
TypeNameDescription
stringtext
stringouterDelimiter
stringinnerDelimiter
Returns
TypeDescription
List<(string, string)>

Parse2xNxNList(string, string, string, string, string)

Declaration
public static List<(List<string>, List<string>)> Parse2xNxNList(string text, string outerDelimiter, string innerDelimiter, string leftDelimiter, string rightDelimiter)
Parameters
TypeNameDescription
stringtext
stringouterDelimiter
stringinnerDelimiter
stringleftDelimiter
stringrightDelimiter
Returns
TypeDescription
List<(List<string>, List<string>)>

Join(string, IEnumerable<string>)

Declaration
public static string Join(string separator, IEnumerable<string> values)
Parameters
TypeNameDescription
stringseparator
IEnumerable<string>values
Returns
TypeDescription
string

CheckMask(string, string)

Declaration
public static bool CheckMask(string Source, string maskFiles)
Parameters
TypeNameDescription
stringSource
stringmaskFiles
Returns
TypeDescription
bool

SplitCamelCasing(string)

Declaration
public static List<string> SplitCamelCasing(string source)
Parameters
TypeNameDescription
stringsource
Returns
TypeDescription
List<string>

CamelCasingToPhrase(string, bool)

Declaration
public static string CamelCasingToPhrase(string source, bool firstBig = true)
Parameters
TypeNameDescription
stringsource
boolfirstBig
Returns
TypeDescription
string