Get Global String Params Reads a value from the Global section of the file (which is [GLOBAL]) and substitutes given parameters to %1 %2 %3 %4
Syntax
Public Function GGS_Params (ByRef sId As String, _ Optional ByRef sDefValue As String = "", _ Optional ByRef sParam1 As String = "", _ Optional ByRef sParam2 As String = "", _ Optional ByRef sParam3 As String = "", _ Optional ByRef sParam4 As String = "") As String
Parameters
Parameter |
Description |
ByRef sId As String |
The translation key as in the file |
Optional ByRef sDefValue As String = "" |
The default value if the translation doesn't exist |
Optional ByRef sParam1 As String = "" |
The first parameter %1 |
Optional ByRef sParam2 As String = "" |
The second parameter %2 |
Optional ByRef sParam3 As String = "" |
The third parameter %3 |
Optional ByRef sParam4 As String = "" |
The forth parameter %4 |
|