Méthode | 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 |
Méthode | Description | |
---|---|---|
VersionToString ( ulong uVersion, bool bEnsureAtLeastTwoComp ) : string |
public static AddAccelerator ( string strMenuText, List |
||
strMenuText | string | |
lAvailKeys | List |
|
Résultat | string |
public static AlphaNumericOnly ( string str ) : string | ||
str | string | |
Résultat | string |
public static BoolToString ( bool bValue ) : string | ||
bValue | bool | |
Résultat | string |
public static BoolToStringEx ( bool bValue ) : string | ||
bValue | bool | |
Résultat | string |
public static ByteToSafeChar ( byte bt ) : char | ||
bt | byte | |
Résultat | char |
public static ColorToUnnamedHtml ( Color color, bool bEmptyIfTransparent ) : string | ||
color | Color | Color to convert. |
bEmptyIfTransparent | bool | If this is |
Résultat | string |
public static CompactString3Dots ( string strText, int nMaxChars ) : string | ||
strText | string | |
nMaxChars | int | |
Résultat | string |
public static CompareLengthGt ( string x, string y ) : int | ||
x | string | |
y | string | |
Résultat | int |
public static CompareNaturally ( string strX, string strY ) : int | ||
strX | string | |
strY | string | |
Résultat | int |
public static Count ( string str, string strNeedle ) : int | ||
str | string | |
strNeedle | string | |
Résultat | int |
public static DataToDataUri ( byte pbData, string strMimeType ) : string | ||
pbData | byte | Data to encode. |
strMimeType | string | Optional MIME type. If |
Résultat | string |
public static DataUriToData ( string strDataUri ) : byte[] | ||
strDataUri | string | Data URI to decode. |
Résultat | byte[] |
public static DecryptString ( string strCipherText ) : string | ||
strCipherText | string | |
Résultat | string |
public static Deobfuscate ( string strObf ) : string | ||
strObf | string | |
Résultat | string |
public static DeserializeIntArray ( string strSerialized ) : int[] | ||
strSerialized | string | |
Résultat | int[] |
public static EncodeMenuText ( string strText ) : string | ||
strText | string | |
Résultat | string |
public static EncodeToolTipText ( string strText ) : string | ||
strText | string | |
Résultat | string |
public static EncryptString ( string strPlainText ) : string | ||
strPlainText | string | |
Résultat | string |
public static FormatDataSize ( ulong uBytes ) : string | ||
uBytes | ulong | |
Résultat | string |
public static FormatDataSizeKB ( ulong uBytes ) : string | ||
uBytes | ulong | |
Résultat | string |
public static FormatException ( |
||
excp | ||
Résultat | string |
public static GetEncoding ( StrEncodingType t ) : |
||
t | StrEncodingType | |
Résultat |
public static GetEncoding ( string strName ) : |
||
strName | string | |
Résultat |
public static GetNewLineSeq ( string str ) : string | ||
str | string | |
Résultat | string |
public static GetStringBetween ( string strText, int nStartIndex, string strStart, string strEnd ) : string | ||
strText | string | |
nStartIndex | int | |
strStart | string | |
strEnd | string | |
Résultat | 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 | |
Résultat | string |
public static GetUnusedChar ( string strText ) : char | ||
strText | string | |
Résultat | char |
public static IsDataUri ( string strUri ) : bool | ||
strUri | string | |
Résultat | bool |
public static IsDataUri ( string strUri, string strReqMimeType ) : bool | ||
strUri | string | |
strReqMimeType | string | |
Résultat | bool |
public static IsHexString ( string str, bool bStrict ) : bool | ||
str | string | |
bStrict | bool | |
Résultat | bool |
public static MultiToSingleLine ( string strMulti ) : string | ||
strMulti | string | |
Résultat | string |
public static NormalizeNewLines ( string str, bool bWindows ) : string | ||
str | string | String with mixed new line characters. |
bWindows | bool | If |
Résultat | string |
public static NormalizeNewLines ( ProtectedStringDictionary dict, bool bWindows ) : void | ||
dict | ProtectedStringDictionary | |
bWindows | bool | |
Résultat | void |
public static Obfuscate ( string strPlain ) : string | ||
strPlain | string | |
Résultat | string |
public static ParseVersion ( string strVersion ) : ulong | ||
strVersion | string | |
Résultat | ulong |
public static RemoveAccelerator ( string strMenuText ) : string | ||
strMenuText | string | |
Résultat | string |
public static RemovePlaceholders ( string str ) : string | ||
str | string | |
Résultat | string |
public static ReplaceCaseInsensitive ( string strString, string strFind, string strNew ) : string | ||
strString | string | |
strFind | string | |
strNew | string | |
Résultat | string |
public static RtfEncodeChar ( char ch ) : string | ||
ch | char | |
Résultat | string |
public static SafeXmlString ( string strText ) : string | ||
strText | string | Source text. |
Résultat | string |
public static SerializeIntArray ( int vNumbers ) : string | ||
vNumbers | int | |
Résultat | string |
public static SimplePatternMatch ( string strPattern, string strText, System.StringComparison sc ) : bool | ||
strPattern | string | |
strText | string | |
sc | System.StringComparison | |
Résultat | bool |
public static SplitCommandLine ( string strCmdLine, string &strApp, string &strArgs ) : void | ||
strCmdLine | string | Command line to split. |
strApp | string | Application path. |
strArgs | string | Arguments. |
Résultat | void |
public static SplitSearchTerms ( string strSearch ) : List |
||
strSearch | string | |
Résultat | 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. |
Résultat | List |
public static StringToBool ( string str ) : bool | ||
str | string | |
Résultat | bool |
public static StringToBoolEx ( string str ) : bool? | ||
str | string | |
Résultat | bool? |
public static StringToHtml ( string str ) : string | ||
str | string | String to convert. |
Résultat | string |
public static StringToTags ( string strTags ) : List |
||
strTags | string | |
Résultat | List |
public static TagsToString ( List |
||
vTags | List |
|
bForDisplay | bool | |
Résultat | string |
public static TryParseDateTime ( string str, System.DateTime &dt ) : bool | ||
str | string | |
dt | System.DateTime | |
Résultat | bool |
public static TryParseInt ( string str, int &n ) : bool | ||
str | string | |
n | int | |
Résultat | bool |
public static TryParseIntInvariant ( string str, int &n ) : bool | ||
str | string | |
n | int | |
Résultat | bool |
public static TryParseLong ( string str, long &n ) : bool | ||
str | string | |
n | long | |
Résultat | bool |
public static TryParseLongInvariant ( string str, long &n ) : bool | ||
str | string | |
n | long | |
Résultat | bool |
public static TryParseUInt ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
Résultat | bool |
public static TryParseUIntInvariant ( string str, uint &u ) : bool | ||
str | string | |
u | uint | |
Résultat | bool |
public static TryParseULong ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
Résultat | bool |
public static TryParseULongInvariant ( string str, ulong &u ) : bool | ||
str | string | |
u | ulong | |
Résultat | bool |
public static TryParseUShort ( string str, ushort &u ) : bool | ||
str | string | |
u | ushort | |
Résultat | bool |
public static VersionToString ( ulong uVersion ) : string | ||
uVersion | ulong | |
Résultat | string |
public static VersionToString ( ulong uVersion, uint uMinComp ) : string | ||
uVersion | ulong | |
uMinComp | uint | |
Résultat | string |
public static XmlToString ( string str ) : string | ||
str | string | |
Résultat | string |