Test Ar-PHP Functionality Online

header line!
Test PHP Function










Ar-PHP Manual

method isAlef [line 448]

boolean isAlef( string $archar)

Checks for Arabic Alef forms (i.e. ALEF, ALEF MADDA, ALEF HAMZA ABOVE, ALEF HAMZA BELOW,ALEF WASLA, ALEF MAKSURA).



Tags:

return:  True if it is Arabic Alef form
author:  Khaled Al-Sham'aa <khaled@ar-php.org>
access:  public


Parameters:

string   $archar   Arabic unicode char

Example
  1.      include('./I18N/Arabic.php');
  2.      $obj new I18N_Arabic('Normalise');
  3.  
  4.      $str "Arabic text with tatweel, tashkeel...";
  5.  
  6.      echo "<p><u><i>Before:</i></u><br />$str<br /><br />";
  7.  
  8.      $text $obj->stripTatweel($str);
  9.  
  10.      echo "<u><i>After:</i></u><br />$text<br /><br />";
Popular
Recent
Links
Ads!
footer line!

No Software Patents! General Public License

Home | Twitter | Blog | Contact

Copyright © 2006 - 2016 Khaled Al-Sham'aa