Results 1 to 5 of 5

Thread: Special Chars in String

  1. #1
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Special Chars in String

    how do i use special characters in a string. example

    s:= 'the 'quick' brown fox';

  2. #2
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    SCAR Code:
    s := 'The ''quick'' brown fox';

    And of course you could get the character number.

    SCAR Code:
    s := 'The '+#39+'quick'+#39+' brown fox';
    Last edited by i luffs yeww; 03-28-2010 at 07:28 AM.

  3. #3
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i mean using this symbol ' in a string not "

  4. #4
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    -_- I did.. Run it.

    If you do '' (that's ' ' without the space) then it come out as '.

  5. #5
    Join Date
    Jan 2007
    Location
    BC, Canada
    Posts
    66
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    using char numbers why didnt i think of that. thx yeww

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •