[]
Returns the format string for the field at the specified position in the given text.
string GetFormatStringAtPos(string currText, int position)
Function GetFormatStringAtPos(currText As String, position As Integer) As String
Type | Name | Description |
---|---|---|
string | currText | Current text string |
int | position | Position index |
Type | Description |
---|---|
string | The format string for the field at the specified position. |
Example: Format String: "d/mm/yy", currText: "25/12/02" position: 3. This method will return "mm". Returns "" if bad position. If at a literal position, then the char at that position, preceded with a backslash, is returned ("\c" where 'c' is the actual char).