String Update

uses string buffer to store the characters that have already been seen by the scanner