86
1
using System;
2
3
public static class Program
4
{
5
/// <summary>
6
/// Define common patterns for substring actions
7
/// </summary>
8
public enum StrCut
9
{
10
BeforeLessStr = 0,
11
BeforeInclStr = 1,
12
AfterLessStr = 2,
13
AfterInclStr = 4
14
}
15
/// <summary>
16
/// Cut from front or back
17
/// </summary>
18
public enum StrCutLoc
19
{
20
First = 0,
21
Last = 1
22
}
23
/// <summary>
24
/// Extend Susbstring with ability to pass a string and choose common actions surrounding that string.
Cached Result