Symisc Systems

Libcox Command Reference


Star Follow @symisc

Command Syntax

strglob pattern string


Alias

None


Description

Match string (2nd arg) against a pattern (1st arg). (This implementation support most of the shell wildcard pattern).


Parameters

pattern

The shell wildcard pattern.

string

The tested string.


Return Value

Boolean: TRUE(1) if there is a match, FALSE(0) otherwise. Use libcox_value_to_bool() or libcox_value_to_int() to extract the processing result.