Syntax
PAR=stringpatterncompare(pattern,txt)
Input Parameter
pattern : | | pattern such as "move $A from $B to $C" |
txt : | | text to analyze such as "move A from B to C" |
Output Parameter
Examples
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
Copyright 2023-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21