[ic] Re: how to get number of characters in a string?

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Mon Sep 9 05:03:05 2002


Caleb Phillips writes: 


> [calc]
> 	my $title_bar = [control title_bar];
> 	for(my n = 10; n--; n>=0){
> 		$title_bar .= ' ';
> 	}
> 	return $title_bar;
> [/calc]

Duh. 

$title_bar .= ' ' x 10; 

It's Perl not C :-) 

Ciao
     Racke 

 

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.