Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: String Functions

  1. #26
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    By pressing F1 in SCAR.

  2. #27
    Join Date
    Feb 2008
    Posts
    517
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Yes there is a way to check if a substring exists in a string.

    SCAR Code:
    if Pos(substring,string) <> 0 then
    begin
    //do your shit here
    end;

  3. #28
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm, he has that code in first post dude..

  4. #29
    Join Date
    Feb 2008
    Posts
    517
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    Umm, he has that code in first post dude..
    I tend to simply answer what the people ask.

  5. #30
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    True, he asked, but his code above it also includes some code using pos..

Page 2 of 2 FirstFirst 12

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
  •