From owner-freebsd-mips@FreeBSD.ORG Thu Mar 13 23:41:33 2008 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55AF0106566B for ; Thu, 13 Mar 2008 23:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6C28FC25 for ; Thu, 13 Mar 2008 23:41:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JZwlR-0004Tu-AP for freebsd-mips@freebsd.org; Thu, 13 Mar 2008 16:23:09 -0700 Message-ID: <16040950.post@talk.nabble.com> Date: Thu, 13 Mar 2008 16:23:09 -0700 (PDT) From: kumarrana To: freebsd-mips@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: jeevan_cons@yahoo.com Subject: Write method stripNonAlpha in MIPS X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2008 23:41:33 -0000 Method stripNonAlpha should remove every character that is neither a letter nor a decimal digit from the buffer, and return the starting address of the resulting buffer to the calling routine. For example, given the address of = a buffer containing the string=20 =E2=80=9CaBLE ;! Was I e 2r2 eIsaW*e=E2=80=A6L@@$#^() b A=E2=80=A6=E2= =80=9D, your method should return the address of a buffer containing the string =E2=80=9CaBLEWasIe2r2eIsaWeLbA=E2=80=9D. Can anybody tell me how to do this? --=20 View this message in context: http://www.nabble.com/Write-method-stripNonAl= pha-in-MIPS-tp16040950p16040950.html Sent from the freebsd-mips mailing list archive at Nabble.com.