StringManipulation.SubstringAfter Method

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Returns the section of a string after the first occurrence of the specified character.
public static string SubstringAfter(this string text, char separator)

Parameters

text string
The string to process.
separator char
The separator character.

Returns

string
The part of the substring after the first occurrence of the separator character or an empty string if the separator is not found.