[thelist] hide some numbers and show others script.

rob.stokes at bt.com rob.stokes at bt.com
Fri Jun 20 06:39:29 CDT 2003


kristina,

Depends what language you want to do it in. For example in unix shell I
would use awk's substring:

choppedvalue=`echo ${oldvalue} | awk '{print(substr($0,3,4))}'`
echo "Value is **${choppedvalue}"



-----Original Message-----
From: kristina [mailto:ml at kfxdesign.net]
Sent: 20 June 2003 12:30 pm
To: thelist
Subject: [thelist] hide some numbers and show others script.


evolters,

  Morning folks!

  I'm looking for a script that will hide the first part of a
  number and just display the last 4 digits.

  I have seen this in action on websites, where cc numbers are just
  showing last 4 digits for confirmation and the beginning is *'s.

  Searching using google hasn't given me much, as I'm struggling to
  define my search.

  Also how safe is this?

-- 
tia
~kristina
______________________________________________________________________
Composed on 20/06/2003 at 12:22 using The Bat Ver 1.62r

Attachments = <none>

-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

Evolt.org conference in London, July 25-27 2003.  Register today at
http://evolt.org.uk

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 


More information about the thelist mailing list