浏览代码

modules_k/textops: fixed typo in starts_with() example

- Thanks to Inaki for pointing out.
Juha Heinanen 15 年之前
父节点
当前提交
2759deb340
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      modules_k/textops/README
  2. 1 1
      modules_k/textops/doc/textops_admin.xml

+ 1 - 1
modules_k/textops/README

@@ -882,7 +882,7 @@ if(cmp_istr("$rU@you", "kamailio@YOU"))
 
    Example 1.33. starts_with usage
 ...
-if(cmp_str("$rU", "+358"))
+if (starts_with("$rU", "+358"))
 {
     # do interesting stuff here
 }

+ 1 - 1
modules_k/textops/doc/textops_admin.xml

@@ -1224,7 +1224,7 @@ if(cmp_istr("$rU@you", "kamailio@YOU"))
 		<title><function>starts_with</function> usage</title>
 		<programlisting format="linespecific">
 ...
-if(cmp_str("$rU", "+358"))
+if (starts_with("$rU", "+358"))
 {
     # do interesting stuff here
 }