Macro Toolworks Products Discussion Forums :: Suggestions & Bug Reports
Welcome Guest   
 Subject :possible error in trim. quick help plz. petr... 07-10-2011 20:44:25 
hugblue@hotmail.com
Joined: 13-10-2010 01:09:07
Posts: 100
Location: sweden
when i use trim to cut of some text. then it seems that it
do not work. both str_trimleft and str_trimright

maybe i am wrong. but i cannot see where my error is.
here is my test code. :

<varset>("test1=hello out there","")<var_oper>(test2,"%test1%",STR_TRIMLEFT,"4","", "0")<msg>(-100,-100,"test1 variable = %test1%
test2 variable = %test2%","Message",1,0,0,1)

when i run this command : the result is :

test1 variable = hello out there
test2 variable = hello out there

- - - - -

please petr.

HELP ME QUICKLY WITH THIS ONE.

if i am wrong. can u please come with an code example.
of how i can make this right.

or maybe i have been sitting here and programming, way too long. have been here the last
16+ hours. and it bugs me when it start teasing.

thz.

or if its an error:
then i need to isolate the word that i need to extract with :
str:left, str_mid, str_right. but will be some harder to do. and then copy the word.
IP Logged
Last Edited On: 07-10-2011 21:13:08 By hugblue@hotmail.com for the Reason
Page # 


Powered by ccBoard


Login and share your experience - send messages to forums and add comments to samples, commands and other resources.



Account is free of charge, easy to setup.