<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 20/08/13 09:29, Jonas Kellens wrote:
<blockquote cite="mid:521328D4.7080603@telenet.be" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
how can I cut off the last character of the EXTEN-variable with
variating length ?<br>
<br>
So I have :<br>
<br>
112233#<br>
123#<br>
123456789#<br>
<br>
I want to cut off the last character.<br>
<br>
${EXTEN:-1} gives me #, but that is the character I want to cut
off.<br>
</font></blockquote>
<br>
Set(variable=${EXTEN:0:$[LEN(${EXTEN})-1]})<br>
<br>
</body>
</html>