by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Artificial Intelligence
Introduced first in SolidGeometry 5.4, Creation date: 2023-11-30, Last change: 2025-09-15
See Also: , XPSGPS
PAR=stringpatterncompare(pattern,txt)
pattern: | pattern such as "move $A from $B to $C" | |
txt: | text to analyze such as "move A from B to C" |
PAR: | List of parameters |
stringpatterncompare("move A from B to C", "move A from B to C") % identical
stringpatterncompare("move A from B to C", "move X from Y to C") % different
stringpatterncompare("move $A from $B to C", "move X from Y to C") % identical
stringpatterncompare("move $A from $B to $C", "move Tim from work to Home") % identical
stringpatterncompare("move $A from $B to $C", "move $A from work to Home") % empty results