From owner-freebsd-chat Thu Feb 27 02:58:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA18652 for chat-outgoing; Thu, 27 Feb 1997 02:58:17 -0800 (PST) Received: from mail.MCESTATE.COM (vince@mail.MCESTATE.COM [206.171.98.50]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18646 for ; Thu, 27 Feb 1997 02:58:14 -0800 (PST) Received: from localhost (vince@localhost) by mail.MCESTATE.COM (8.8.5/8.8.5) with SMTP id CAA06191 for ; Thu, 27 Feb 1997 02:58:12 -0800 (PST) Date: Thu, 27 Feb 1997 02:58:11 -0800 (PST) From: Vincent Poy To: chat@FreeBSD.ORG Subject: Autocreate script Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm currently working on the autocreate script...looks good so far. I was wondering if anyone knew of a way to convert strings. Let's say $string is "SomeLongUserName" I want to convert that to "SomeLong" so it would be a valid username. Any ideas? Cheers, Vince - vince@MCESTATE.COM - vince@GAIANET.NET ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] GaiaNet Corporation - M & C Estate / / / / | / | __] ] Beverly Hills, California USA 90210 / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]