Return to Snippet

Revision: 51211
at September 17, 2011 01:41 by feeorin


Initial Code
public static function removeGreekGlyphs ($value:String):String {
			
			$value = $value.replace(/[άΆ]/g, "α");
			$value = $value.replace(/[ΊΪίΐϊ]/g, "ι");
			$value = $value.replace(/[όΌ]/g, "ο");
			$value = $value.replace(/[ώΏ]/g, "ω");
			$value = $value.replace(/[ήΉ]/g, "η");
			$value = $value.replace(/[ύΎΰϋΫ]/g, "υ");
			$value = $value.replace(/[έΈ]/g, "ε");
			$value = $value.replace(/[ς]/g, "σ");
	return $value;
}

Initial URL


Initial Description


Initial Title
Removing Greek Glyphs (eg ά, Ά)

Initial Tags
replace

Initial Language
ActionScript 3