Trim String NewLines and Breaks CarriageReturn and LineFeed Function new
published at:8/15/2008, Tutorials, Flash & AS,
published by: she7ata
i wrote this function early on the 2005, flash mx i guess, this function remove double Cr And Lf on strings and return a clean
text
function trimCrLfs(xString){
//Trim double Crr/lnFeeds -18-1-2005 (C) mShehata xStr=new String(xString);
xBuffer = new String();
for(i=0;i<=xStr.length;i++)
if (!(xStr.charCodeAt(i)==13))xBuffer=xBuffer+xStr.charAt(i); return(xBuffer); }
good luck ISA :-)
categories
» recent posts
- Send And Upload Binary Bytes or Image from Flash with ActionScript 2.0
- Designers salaries in Egypt 2011
- Download logos directly, vector-logos.com site hack
- Etisalat Smart Net Router Type
- Unlock your Windows Mobile Without Touch Screen
- How to Bypass and Skip Calibrate or Align Screen on WM 6.5
- China phone folder structure
- Panasonic KM-MB1900CX Driver Download For Windows
- ماذا تعرف عن حياة الديزاينر!؟، بعض الخواطر
- Microsoft Open Door Event 2010, Egypt
� recent replies
- "Ahmed Khattab :
Kalamk MSA to7fa w kolooo sa7 :) MSA bgd and yoour work MSA is Great keep it up :)" - "ahmed :
When mymobiler connected to my phone, it tries to run an app that is unsigned and I've to press "YES ..." - "Tarek :
brilliant!! enta 2olt 7agat kteer awi kont 3ayz 2a2olha .. ana 7ases en ana elly kateb :D keep it ..." - "محمد مصطفى :
جزاك الله خيرا اللهم يسر لى الزواج ولجميع شباب المسلمين اللهم أميـــن ." - "Devilocke :
When I try to connect to the windows mobile device center, I get the message "Your device is current ..."
COMMENT(S)
ADD COMMENT