Hey Jake, 

Thanks!  Works like a charm. 

Adi. 

Jake Prime <[EMAIL PROTECTED]> wrote: On 31/10/06, Adrian Ionut Beschea  wrote:

> Is there a way to at least make the tags lower case ? I'm looking for an 
> actionscript or php solution.

Hi Adrian

This will make tags lower case:

function toLowerCaseTags ( htmlTxt:String ) : String {
 var a:Array = htmlTxt.split( "<" );
 for (var i:Number=0 ; i
  a[i] = a[i].split( ">" );
  a[i][0] = a[i][0].toLowerCase();
  a[i] = a[i].join( ">" );
 }
 return a.join( "<" );
}

Jake
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 
---------------------------------
Get your email and see which of your friends are online - Right on the  new 
Yahoo.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to