2 Replies Latest reply: Oct 20, 2014 2:36 PM by SeanWilson RSS

    question about length of strings

    stevenLandau Community Member

      what are the characters that appear below as black diamonds with a white question mark inside? They are weird because when you do charToNum on just that character, Director returns a question mark PLUS the next character. For example, if I say "put theString.line[9].char[16]" (where theString is the text below), it returns "?R", which is strange because that is two characters. The length of line[9] is evaluated as one less than it should be.

      Any help would be greatly appreciated.

       

      "          ,A ,,BOAT ,,RIDE

               ,,& ,,O!R ,,/ORIES

       

       

              0,,NEIL ,,BLACKFIELD

       

       

                   ,PUBLI%$ BY

                ,HI< ,NOON ,BOOKS

                  ,NOVATO1 ,,CA

                ,COPY�R #AIII BY

                ,NEIL ,BLACKFIELD

                ,ALL ,�RS ,RES]V$

             ,,ISBN3 #A-EGABH-AJI-F

       

       

              ,ADAPT$ = ,,SAL #B BY

             ,EXCEP;NAL ,T1*+1 ,9C4

                 #A-HJJ-EDI-FIII

         _+WWW.EXCEPTIONALTEACHING.COM_:

       

       

                 ,9 ,�O ,VOLUME

              ,FULLY ,3TRACT$ ,BRL"