blob: 65f5e0b0e800a64cd2d4ecbfa9e44c6f20369e22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System;
namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.util {
internal static class Strings {
internal static string trimLeft(string value, int character) {
int index = 0;
while (index < value.Length && value[index] == character) {
index++;
}
return value.Substring(index);
}
internal static bool isNullOrEmpty(string value) {
return string.IsNullOrEmpty(value);
}
}
}
|