Test Ar-PHP Functionality Online
Test PHP Function
Sub Class:
- Select one -
AutoSummarize
CharsetD
CompressStr
Date
Gender
Glyphs
Hiero
Identifier
KeySwap
Mktime
Normalise
Numbers
Query
Salat
Sort
Soundex
Standard
Stemmer
StrToTime
Transliteration
WordTag
Method:
- Select one -
stripTatweel
stripTashkeel
normaliseHamza
normaliseLamaleph
unichr
normalise
unshape
utf8Strrev
isTashkeel
isHaraka
isShortharaka
isTanwin
isLigature
isHamza
isAlef
isWeak
isYehlike
isWawlike
isTehlike
isSmall
isMoon
isSun
charName
text:
Result (
var_dump
output):
Ar-PHP Manual
method stripTatweel
[line
128
]
string stripTatweel( string $text)
Strip all tatweel characters from an Arabic text.
Tags:
return:
the stripped text.
author:
Djihed Afifi <
djihed@gmail.com
>
access:
public
Parameters:
string
$text
The text to be stripped.
Example
include
(
'./I18N/Arabic.php'
)
;
$obj
=
new
I18N_Arabic
(
'Normalise'
)
;
$str
=
"Arabic text with tatweel, tashkeel..."
;
echo
"
<p><u><i>Before:</i></u><br />
$str
<br /><br />
"
;
$text
=
$obj
->
stripTatweel
(
$str
)
;
echo
"
<u><i>After:</i></u><br />
$text
<br /><br />
"
;
Popular
utf8Glyphs
(1224)
ar2en
(973)
money2str
(550)
en2ar
(400)
isFemale
(291)
Recent
getPrayTime2
(4 days)
getPrayTime
(4 days)
stripTatweel
(8 days)
stem
(8 days)
tagText
(9 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa