Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

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



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. 


Search for: Sort by: