Method | Description | |
---|---|---|
AddAccelerator ( string strMenuText, List |
||
AlphaNumericOnly ( string str ) : string | ||
BoolToString ( bool bValue ) : string | ||
BoolToStringEx ( bool bValue ) : string | ||
ByteToSafeChar ( byte bt ) : char | ||
ColorToUnnamedHtml ( Color color, bool bEmptyIfTransparent ) : string |
/// Initialize an RTF document based on given font face and size. /// /// Convert a simple HTML string to an RTF string. /// Convert a
|
|
CompactString3Dots ( string strText, int nMaxChars ) : string | ||
CompareLengthGt ( string x, string y ) : int | ||
CompareNaturally ( string strX, string strY ) : int | ||
Count ( string str, string strNeedle ) : int | ||
DataToDataUri ( byte pbData, string strMimeType ) : string |
Create a data URI (according to RFC 2397).
|
|
DataUriToData ( string strDataUri ) : byte[] |
Convert a data URI (according to RFC 2397) to binary data.
|
|
DecryptString ( string strCipherText ) : string | ||
Deobfuscate ( string strObf ) : string | ||
DeserializeIntArray ( string strSerialized ) : int[] | ||
EncodeMenuText ( string strText ) : string | ||
EncodeToolTipText ( string strText ) : string | ||
EncryptString ( string strPlainText ) : string | ||
FormatDataSize ( ulong uBytes ) : string | ||
FormatDataSizeKB ( ulong uBytes ) : string | ||
FormatException ( |
Format an exception and convert it to a string.
|
|
GetEncoding ( StrEncodingType t ) : |
||
GetEncoding ( string strName ) : |
||
GetNewLineSeq ( string str ) : string | ||
GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd ) : string | ||
GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd, int &nInnerStartIndex ) : string | ||
GetUnusedChar ( string strText ) : char |
Find a character that does not occur within a given text.
|
|
IsDataUri ( string strUri ) : bool | ||
IsDataUri ( string strUri, string strReqMimeType ) : bool | ||
IsHexString ( string str, bool bStrict ) : bool | ||
MultiToSingleLine ( string strMulti ) : string | ||
NormalizeNewLines ( string str, bool bWindows ) : string |
Normalize new line characters in a string. Input strings may contain mixed new line character sequences from all commonly used operating systems (i.e. \r\n from Windows, \n from Unix and \r from Mac OS.
|
|
NormalizeNewLines ( ProtectedStringDictionary dict, bool bWindows ) : void | ||
Obfuscate ( string strPlain ) : string | ||
ParseVersion ( string strVersion ) : ulong | ||
RemoveAccelerator ( string strMenuText ) : string | ||
RemovePlaceholders ( string str ) : string |
Remove placeholders from a string (wrapped in '{' and '}'). This doesn't remove environment variables (wrapped in '%').
|
|
ReplaceCaseInsensitive ( string strString, string strFind, string strNew ) : string | ||
RtfEncodeChar ( char ch ) : string |
/// Convert a string into a valid RTF string. ///
|
|
SafeXmlString ( string strText ) : string |
Removes all characters that are not valid XML characters, according to http://www.w3.org/TR/xml/#charsets .
|
|
SerializeIntArray ( int vNumbers ) : string | ||
SimplePatternMatch ( string strPattern, string strText, System.StringComparison sc ) : bool | ||
SplitCommandLine ( string strCmdLine, string &strApp, string &strArgs ) : void |
Split up a command line into application and argument.
|
|
SplitSearchTerms ( string strSearch ) : List |
||
SplitWithSep ( string str, string vSeps, bool bCaseSensitive ) : List |
Split a string and include the separators in the splitted array.
|
|
StringToBool ( string str ) : bool | ||
StringToBoolEx ( string str ) : bool? | ||
StringToHtml ( string str ) : string |
Convert a string into a valid HTML sequence representing that string.
|
|
StringToTags ( string strTags ) : List |
||
TagsToString ( List |
||
TryParseDateTime ( string str, System.DateTime &dt ) : bool | ||
TryParseInt ( string str, int &n ) : bool | ||
TryParseIntInvariant ( string str, int &n ) : bool | ||
TryParseLong ( string str, long &n ) : bool | ||
TryParseLongInvariant ( string str, long &n ) : bool | ||
TryParseUInt ( string str, uint &u ) : bool | ||
TryParseUIntInvariant ( string str, uint &u ) : bool | ||
TryParseULong ( string str, ulong &u ) : bool | ||
TryParseULongInvariant ( string str, ulong &u ) : bool | ||
TryParseUShort ( string str, ushort &u ) : bool | ||
VersionToString ( ulong uVersion ) : string | ||
VersionToString ( ulong uVersion, uint uMinComp ) : string | ||
XmlToString ( string str ) : string |
Method | Description | |
---|---|---|
VersionToString ( ulong uVersion, bool bEnsureAtLeastTwoComp ) : string |
public static AddAccelerator ( string strMenuText, List |
||
strMenuText | string | |
lAvailKeys | List |
|
return | string |
public static AlphaNumericOnly ( string str ) : string | ||
str | string | |
return | string |
public static BoolToString ( bool bValue ) : string | ||
bValue | bool | |
return | string |
public static BoolToStringEx ( bool bValue ) : string | ||
bValue | bool | |
return | string |
public static ByteToSafeChar ( byte bt ) : char | ||
bt | byte | |
return | char |
public static ColorToUnnamedHtml ( Color color, bool bEmptyIfTransparent ) : string | ||
color | Color | Color to convert. |
bEmptyIfTransparent | bool | If this is |
return | string |
public static CompactString3Dots ( string strText, int nMaxChars ) : string | ||
strText | string | |
nMaxChars | int | |
return | string |
public static CompareLengthGt ( string x, string y ) : int | ||
x | string | |
y | string | |
return | int |
public static CompareNaturally ( string strX, string strY ) : int | ||
strX | string | |
strY | string | |
return | int |
public static Count ( string str, string strNeedle ) : int | ||
str | string | |
strNeedle | string | |
return | int |
public static DataToDataUri ( byte pbData, string strMimeType ) : string | ||
pbData | byte | Data to encode. |
strMimeType | string | Optional MIME type. If |
return | string |
public static DataUriToData ( string strDataUri ) : byte[] | ||
strDataUri | string | Data URI to decode. |
return | byte[] |
public static DecryptString ( string strCipherText ) : string | ||
strCipherText | string | |
return | string |
public static Deobfuscate ( string strObf ) : string | ||
strObf | string | |
return | string |
public static DeserializeIntArray ( string strSerialized ) : int[] | ||
strSerialized | string | |
return | int[] |
public static EncodeMenuText ( string strText ) : string | ||
strText | string | |
return | string |
public static EncodeToolTipText ( string strText ) : string | ||
strText | string | |
return | string |
public static EncryptString ( string strPlainText ) : string | ||
strPlainText | string | |
return | string |
public static FormatDataSize ( ulong uBytes ) : string | ||
uBytes | ulong | |
return | string |
public static FormatDataSizeKB ( ulong uBytes ) : string | ||
uBytes | ulong | |
return | string |
public static FormatException ( |
||
excp | ||
return | string |
public static GetEncoding ( StrEncodingType t ) : |
||
t | StrEncodingType | |
return |
public static GetEncoding ( string strName ) : |
||
strName | string | |
return |
public static GetNewLineSeq ( string str ) : string | ||
str | string | |
return | string |
public static GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd ) : string | ||
strText | string | |
nStartIndex | int | |
strStart | string | |
strEnd | string | |
return | string |
public static GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd, int &nInnerStartIndex ) : string | ||
strText | string | |
nStartIndex | int | |
strStart | string | |
strEnd | string | |
nInnerStartIndex | int | |
return | string |
public static GetUnusedChar ( string strText ) : char | ||
strText | string | |
return | char |
public static IsDataUri ( string strUri ) : bool | ||
strUri | string | |
return | bool |
public static IsDataUri ( string strUri, string strReqMimeType ) : bool | ||
strUri | string | |
strReqMimeType | string | |
return | bool |
public static IsHexString ( string str, bool bStrict ) : bool | ||
str | string | |
bStrict | bool | |
return | bool |
public static MultiToSingleLine ( string strMulti ) : string | ||
strMulti | string | |
return | string |
public static NormalizeNewLines ( string str, bool bWindows ) : string | ||
str | string | String with mixed new line characters. |
bWindows | bool | If |
return | string |
public static NormalizeNewLines ( ProtectedStringDictionary dict, bool bWindows ) : void | ||
dict | ProtectedStringDictionary | |
bWindows | bool | |
return | void |
public static Obfuscate ( string strPlain ) : string | ||
strPlain | string | |
return | string |
public static ParseVersion ( string strVersion ) : ulong | ||
strVersion | string | |
return | ulong |
public static RemoveAccelerator ( string strMenuText ) : string | ||
strMenuText | string | |
return | string |
public static RemovePlaceholders ( string str ) : string | ||
str | string | |
return | string |
public static ReplaceCaseInsensitive ( string strString, string strFind, string strNew ) : string | ||
strString | string | |
strFind | string | |
strNew | string | |
return | string |
public static RtfEncodeChar ( char ch ) : string | ||
ch | char | |
return | string |
public static SafeXmlString ( string strText ) : string | ||
strText | string | Source text. |
return | string |
public static SerializeIntArray ( int vNumbers ) : string | ||
vNumbers | int | |
return | string |
public static SimplePatternMatch ( string strPattern, string strText, System.StringComparison sc ) : bool | ||
strPattern | string | |
strText | string | |
sc | System.StringComparison | |
return | bool |
public static SplitCommandLine ( string strCmdLine, string &strApp, string &strArgs ) : void | ||
strCmdLine | string | Command line to split. |
strApp | string | Application path. |
strArgs | string | Arguments. |
return | void |
public static SplitSearchTerms ( string strSearch ) : List |
||
strSearch | string | |
return | List |
public static SplitWithSep ( string str, string vSeps, bool bCaseSensitive ) : List |
||
str | string | String to split. |
vSeps | string | Separators. |
bCaseSensitive | bool | Specifies whether separators are /// matched case-sensitively or not. |
return | List |
public static StringToBool ( string str ) : bool | ||
str | string | |
return | bool |
public static StringToBoolEx ( string str ) : bool? | ||
str | string | |
return | bool? |
public static StringToHtml ( string str ) : string | ||
str | string | String to convert. |
return | string |
public static StringToTags ( string strTags ) : List |
||
strTags | string | |
return | List |
public static TagsToString ( List |
||
vTags | List |
|
bForDisplay | bool | |
return | string |
public static TryParseDateTime ( string str, System.DateTime &dt ) : bool | ||
str | string | |
dt | System.DateTime | |
return | bool |
public static TryParseInt ( string str, int &n ) : bool | ||
str | string | |
n | int | |
return | bool |
public static TryParseIntInvariant ( string str, int &n ) : bool | ||
str | string | |
n | int | |
return | bool |
public static TryParseLong ( string str, long &n ) : bool | ||
str | string | |
n | long | |
return | bool |
public static TryParseLongInvariant ( string str, long &n ) : bool | ||
str | string | |
n | long | |
return | bool |
public static TryParseUInt ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
return | bool |
public static TryParseUIntInvariant ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
return | bool |
public static TryParseULong ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
return | bool |
public static TryParseULongInvariant ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
return | bool |
public static TryParseUShort ( string str, ushort &u ) : bool | ||
str | string | |
u | ushort | |
return | bool |
public static VersionToString ( ulong uVersion ) : string | ||
uVersion | ulong | |
return | string |
public static VersionToString ( ulong uVersion, uint uMinComp ) : string | ||
uVersion | ulong | |
uMinComp | uint | |
return | string |
public static XmlToString ( string str ) : string | ||
str | string | |
return | string |