Xavier wrote:

>Hi, All !!
>I have an spcript(sic) made with Microsoft Access and I have to translate
it to Java,
>in order to use it as a Servlet,
>but I don't know access scripts at all and I'm in troubles.
>I have for example the sentence ' Mid(text,position.5)="     " '
>and I really don't know what does it means !!

>Another problem that I've found is that I have to read files
>and this files are written in Ansi, when I read it from the servlet,
>I find bad characters, and I don't know how to read it !

>Could someone help me ?
>Thanks in advance to everybody.
>Xavier.

Xavier,
  The Mid statement replaces a specified number of characters with
characters from another string.
  Your example , which I assume is actually 'Mid(text, position, 5) = "
     " ',
  would replace characters in 'text' starting at 'position' with five
spaces.

  About the bad characters, we could probably use some information as to
their ASCII value.  Files often
  use control characters below 32 for formatting,  'return' ASCII 13, 'line
 feed' ASCII 10,  'form feed' ASCII 12...

  ASCII values above 128 are often used for international characters and
character graphics.

  Hope this helps,
     DAV


Mobile Computing Options and Software Development
Dav Gwaltney
(919) 543 - 3598
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to