Browse code

modules_k/textops: fixed typo in starts_with() example

- Thanks to Inaki for pointing out.

Juha Heinanen authored on 01/06/2010 13:15:13
Showing 2 changed files
... ...
@@ -882,7 +882,7 @@ if(cmp_istr("$rU@you", "kamailio@YOU"))
882 882
 
883 883
    Example 1.33. starts_with usage
884 884
 ...
885
-if(cmp_str("$rU", "+358"))
885
+if (starts_with("$rU", "+358"))
886 886
 {
887 887
     # do interesting stuff here
888 888
 }
... ...
@@ -1224,7 +1224,7 @@ if(cmp_istr("$rU@you", "kamailio@YOU"))
1224 1224
 		<title><function>starts_with</function> usage</title>
1225 1225
 		<programlisting format="linespecific">
1226 1226
 ...
1227
-if(cmp_str("$rU", "+358"))
1227
+if (starts_with("$rU", "+358"))
1228 1228
 {
1229 1229
     # do interesting stuff here
1230 1230
 }