You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2006/03/22 21:44:25 UTC

svn commit: r387936 - /jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml

Author: sebb
Date: Wed Mar 22 12:44:23 2006
New Revision: 387936

URL: http://svn.apache.org/viewcvs?rev=387936&view=rev
Log:
Clarify __split() quoting

Modified:
    jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml
URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml?rev=387936&r1=387935&r2=387936&view=diff
==============================================================================
--- jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/functions.xml Wed Mar 22 12:44:23 2006
@@ -532,11 +532,11 @@
 	Example:
 	<code>
 	<br/>
-	Define VAR="a,,c," in the test plan.
+	Define VAR="a||c|" in the test plan.
 	<br/>
-	${__split(${VAR},VAR)}
+	${__split(${VAR},VAR),|}
 	<br/>
-	This will return the contents of VAR, i.e. "a,,c," and set the following variables:
+	This will return the contents of VAR, i.e. "a||c|" and set the following variables:
 	<br/>
         VAR_n=4 (3 in JMeter 2.1.1 and earlier)
 	<br/>
@@ -554,8 +554,8 @@
         <property name="String to split" required="Yes">A delimited string, e.g. "a|b|c"</property>
         <property name="Name of variable" required="Yes">A reference name for reusing the value
                computed by this function.</property>
-        <property name="Delimiter" required="No">The delimiter character, e.g. "|". 
-If omitted, "," is used. Note that "," would need to be specified as "\,".
+        <property name="Delimiter" required="No">The delimiter character, e.g. <b>|</b>. 
+If omitted, <b>,</b> is used. Note that <b>,</b> would need to be specified as <b>\,</b>.
 </property>
         
 </properties>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org