cns_checkSeparator
Checks if the separator is valid or not.
Synopsis
int cns_checkSeparator(string text);
Parameters
| Parameter | Description | 
|---|---|
| text | Text which is checked | 
Return value
This function returns:
- 
                    
0 => No invalid characters used
 - 
                    
-1 => Invalid characters (':', '?'. '*') are used
 
Errors
Possible errors:
- 
                    
Invalid characters are used (-1)
 
Description
This function checks if the used characters are allowed or not. The following characters are not valid: ':', '?' and '*'.
main()
{
  DebugN(cns_checkSeparator("mySeparatorIs."));
}
        Availability
UI, CTRL
