aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_substring.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-15 18:41:17 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-15 18:41:17 +0000
commit93eac2ef38ab56d90204d42ab5e19b7f2fa02673 (patch)
tree1f48f86eae1afde828bef9a4dd97667b4d09ae67 /apps/app_substring.c
parent29823f285598a9170b1d2a706e6b83d4751acaba (diff)
Make substring deprecated
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2696 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_substring.c')
-rwxr-xr-xapps/app_substring.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/app_substring.c b/apps/app_substring.c
index 3217a5e13..78d270eca 100755
--- a/apps/app_substring.c
+++ b/apps/app_substring.c
@@ -26,9 +26,11 @@
#include <pthread.h>
-static char *tdesc = "Save substring digits in a given variable";
+static char *tdesc = "(Deprecated) Save substring digits in a given variable";
static char *descrip =
+" (Deprecated, use ${variable:a:b} instead)\n"
+"\n"
" SubString(variable=string_of_digits|count1|count2): Assigns the substring\n"
"of string_of_digits to a given variable. Parameter count1 may be positive\n"
"or negative. If it's positive then we skip the first count1 digits from the\n"
@@ -48,7 +50,7 @@ static char *descrip =
static char *app = "SubString";
-static char *synopsis = "Save substring digits in a given variable";
+static char *synopsis = "(Deprecated) Save substring digits in a given variable";
STANDARD_LOCAL_USER;