diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (patch) | |
tree | 629d3942958745660e36c30b0d6139af9459c0f8 /kommander/examples/tutorial/strings.kmdr | |
parent | 929d7ae4f69d62b8f1f6d3506adf75f017753935 (diff) | |
download | tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.tar.gz tdewebdev-36c36b53a129509d56fdaa0a7c9fcbcacd0c5826.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/examples/tutorial/strings.kmdr')
-rw-r--r-- | kommander/examples/tutorial/strings.kmdr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/examples/tutorial/strings.kmdr b/kommander/examples/tutorial/strings.kmdr index ce0b469b..15cfe615 100644 --- a/kommander/examples/tutorial/strings.kmdr +++ b/kommander/examples/tutorial/strings.kmdr @@ -49,13 +49,13 @@ <b>Last 5 chars:</b> @String.right("@LineEdit1", 5)<br> <b>Chars from 6th to 10th:</b> @String.mid("@LineEdit1", 6, 5)<br> <b>Remove spaces:</b> @String.remove("@LineEdit1", " ")<br> -<b>Replace spaces with *</b>: @String.tqreplace("@LineEdit1", " ", *)<br> +<b>Replace spaces with *</b>: @String.replace("@LineEdit1", " ", *)<br> <b>Uppercase:</b> @String.upper("@LineEdit1")<br> <b>Lowercase:</b> @String.lower("@LineEdit1")<br> <b>Is a number?:</b> @Array.value(Bool, @String.isNumber("@LineEdit1"))<br> <b>Is empty?</b> @Array.value(Bool, @String.isEmpty("@LineEdit1"))<br> -<b>Contains "Kommander"?:</b> @String.tqcontains("@LineEdit1", "Kommander")<br> -<b>Position of "Kommander":</b> @String.tqfind("@LineEdit1", "Kommander")<br> +<b>Contains "Kommander"?:</b> @String.contains("@LineEdit1", "Kommander")<br> +<b>Position of "Kommander":</b> @String.find("@LineEdit1", "Kommander")<br> <b>Compare with "Kommander":</b> @execBegin if [ @String.compare("@LineEdit1", "Kommander") -lt 0 ];then |