locked
Retrieving specific digits of a variable value RRS feed

  • Question

  • Hi guys,

    I just had a quick question.


    Say I have the user enter a value for a variable, x.

    How would i pull a specific digit from it?

    So if the value put in by the user is 23, it will assign 3 to the variable.

    Or if he enters 234619 it will take the 9 and assign it to x.

    Thanks in advance.
    Thursday, June 23, 2005 6:30 AM