Forgot password?

Create an account!

Forum

« back

RhinoScript – Get String Char

Messages

Please log in to write a message.

  • 2. Hanno (Dec 01, 2010 13.05):

    Hi,

    VBScript features methods left, mid, right which you can use to extract parts of a string. So to compare the first character, use left(strString, 1)

    Regards

    Hanno

  • 1. atac (Nov 30, 2010 19.27):

    hello all together,

    I have another simple question. I want to compare a specific character from a string

    strString = 1_1_Hello

    If strString ">((first Char))<" = 1 then ...
    If strString ">((first Char))<" = 2 then ...

    But how can I compare with a specific char. I know the answer is somewhere in the help file but I am searching for hours now..

    Thanks for help!
    atac

Recommend

Why are these buttons gray?