Functions | |
CA_API UINT __stdcall | String_Replace (MSIHANDLE hInstall) |
Replace a string. More... | |
CA_API UINT __stdcall | String_Trim (MSIHANDLE hInstall) |
Trim a string. More... | |
CA_API UINT __stdcall | String_LTrim (MSIHANDLE hInstall) |
Trim a string from left. More... | |
CA_API UINT __stdcall | String_RTrim (MSIHANDLE hInstall) |
Trim a string from right. More... | |
CA_API UINT __stdcall | Regex_Match (MSIHANDLE hInstall) |
Regex_Match. More... | |
CA_API UINT __stdcall | Regex_Replace (MSIHANDLE hInstall) |
Regex_Replace. More... | |
CA_API UINT __stdcall | String_ToLower (MSIHANDLE hInstall) |
Converts string to lower case. More... | |
CA_API UINT __stdcall | String_ToUpper (MSIHANDLE hInstall) |
Converts string to upper case. More... | |
CA_API UINT __stdcall Regex_Match | ( | MSIHANDLE | hInstall | ) |
Regex_Match.
Returns 1 if the specified regular expression REGEX_MATCH_EXPRESSION matches the whole of the input specified in REGEX_MATCH_INPUT_STRING.
REGEX_MATCH_INPUT_STRING | input string |
REGEX_MATCH_EXPRESSION | regular expression to use in the match |
CA_API UINT __stdcall Regex_Replace | ( | MSIHANDLE | hInstall | ) |
Regex_Replace.
Searches through the string REGEX_REPLACE_INPUT_STRING finding all the matches to the regular expression specified in REGEX_REPLACE_EXPRESSION. For each match it format the string using REGEX_REPLACE_FORMAT
REGEX_REPLACE_INPUT_STRING | input string |
REGEX_REPLACE_EXPRESSION | regular expression to use in the replace |
REGEX_REPLACE_FORMAT | replacement format string |
CA_API UINT __stdcall String_LTrim | ( | MSIHANDLE | hInstall | ) |
Trim a string from left.
This performs left trim. For example leading zeros in a string.
STRING_LTRIM_INPUT | string to trim |
STRING_LTRIM_WHITESPACES | the whitespace to trim. Defaults to " " and tab characters |
STRING_LTRIM_RESULT | the resulting string |
CA_API UINT __stdcall String_Replace | ( | MSIHANDLE | hInstall | ) |
Replace a string.
Replaces the value in STRING_REPLACE_FROM by the value in STRING_REPLACE_TO in a string specified by STRING_VALUE_FROM and puts the result in STRING_VALUE_TO along with the number of occurences replaced in STRING_REPLACE_COUNT. This function doesn't do anything special about empty strings and behaves like a regular string replacement.
STRING_VALUE_FROM | string to replace |
STRING_REPLACE_FROM | source string to find in STRING_VALUE |
STRING_REPLACE_TO | target string to replace occurences of STRING_REPLACE_FROM with |
CA_API UINT __stdcall String_RTrim | ( | MSIHANDLE | hInstall | ) |
Trim a string from right.
This performs right trim.
STRING_RTRIM_INPUT | string to trim |
STRING_RTRIM_WHITESPACES | the whitespace to trim. Defaults to " " and tab characters |
STRING_RTRIM_RESULT | the resulting string |
CA_API UINT __stdcall String_ToLower | ( | MSIHANDLE | hInstall | ) |
Converts string to lower case.
Converts STRING_TOLOWER_INPUT string to lower case, output goes into STRING_TOLOWER_RESULT.
STRING_TOLOWER_INPUT | input string |
CA_API UINT __stdcall String_ToUpper | ( | MSIHANDLE | hInstall | ) |
Converts string to upper case.
Converts STRING_TOUPPER_INPUT string to upper case, output goes into STRING_TOUPPER_RESULT.
STRING_TOUPPER_INPUT | input string |
CA_API UINT __stdcall String_Trim | ( | MSIHANDLE | hInstall | ) |
Trim a string.
This performs left and right trim.
STRING_TRIM_INPUT | string to trim |
STRING_TRIM_WHITESPACES | the whitespace to trim. Defaults to " " and tab characters |
STRING_TRIM_RESULT | the resulting string |
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |