remove spaces from string

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

remove spaces from string

Post by Thunderstone »




I'm using the MetaSearch script with Webinator, and I want to remove the beginning and trailing spaces, if any, from the query string. I've tried numerous different attempts at doing this, using REX, SANDR, and SPLIT, but none have been successful. Any ideas out there?

Thanks.



User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

remove spaces from string

Post by Thunderstone »




Try
<$s=">>= +" " +>>=">
<$r="" "">
<sandr $s $r $q><$q=$ret>




Post Reply