<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

kCura.Utility.Extensions.StringExtenstion

public sealed class StringExtenstion
Provides access to extension methods over instances of String.
public static string ConvertFromBase64(string input, Encoding encoding = null)

Decodes a Base64 string. Defaults to UTF8 if an encoding is not specified.

public static string EnsureTrailingSlash(string input, bool useBackslash = false)

Ensures a specified slash character is appended to a string.

public static string Limit(string source, int count)

Truncates the string to the specified limit, if necessary.

public static DataRowCollection XmlToDataSet(string xmlString)

Transforms the string to a DataRowCollection.

public static List<Guid> XmlToGuidList(string xmlGuidList)

Parses guids from the provided string, if they exist within the string.