Can I use only part of Field

Discussion in 'ASP General' started by Rob, Oct 20, 2004.

  1. Rob

    Rob Guest

    Hi,

    I would like to use the last 10 characters of a Session object.

    Is this possible in active server pages. I am familiar with the user of
    Right$ in visual basic but I after trying serveral conatations I have had to
    give up.

    Any help greatly appreciated.

    Regards,

    Rob
    Rob, Oct 20, 2004
    #1
    1. Advertising

  2. Rob wrote:
    > Hi,
    >
    > I would like to use the last 10 characters of a Session object.
    >
    > Is this possible in active server pages. I am familiar with the user
    > of Right$ in visual basic but I after trying serveral conatations I
    > have had to give up.
    >

    Right$ does not exist (the only datatype in vbscript is Variant), but
    Right() does. Here is the vbscript documentation:

    http://www.microsoft.com/downloads/...48-207d-4be1-8a76-1c4099d7bbb9&DisplayLang=en

    Bob Barrows

    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
    Bob Barrows [MVP], Oct 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Arbajram

    Showing only first part of the field in datagrid

    Arbajram, Jun 15, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    107
    Arbajram
    Jun 17, 2004
  2. Simon Gare

    Showing only part of data in dynamic field

    Simon Gare, Oct 22, 2005, in forum: ASP General
    Replies:
    1
    Views:
    99
  3. datactrl
    Replies:
    4
    Views:
    164
    datactrl
    May 20, 2004
  4. Sound
    Replies:
    2
    Views:
    439
    Randy Webb
    Sep 28, 2006
  5. jr
    Replies:
    3
    Views:
    418
Loading...

Share This Page