Tekil Mesaj gösterimi
Alt 10 Ekim 2014, 03:51   #1
Çevrimdışı
hAte
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
ltrim rtrim trim fonksiyonlarını tanımlamak




String.prototype.ltrim = function (){
return this.replace(/^\s*/, "" );
}

//Function to trim the space in the right side of the string
String.prototype.rtrim = function(){
return this.replace( /\s*$/, "" );
}

//Function to trim the space in the string
String.prototype.trim = function() {
return this.rtrim().ltrim();
}

__________________
Bu kez pek bir afili yalnızlık, ağlatan bir kadın kadar düşman. Ağzı bozuk üstelik bırakmıyor acıtmadan.
 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları reklamver bizimmekan