For comparing a string with string a containing local place holders, this function takes a string usually created by localFormat and compares to a format string usually used by with localFormat
searchBstr | string | string to compare |
resVar | string | format string to compare with |
Return value | boolean | true if the strings match |
Example
compareing the string "I have 10% of the red apples" with "I have %1%% of the %2 %3" would return true
Back to Modeller
Back to Overview