Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Posts
    1

    Post Unanswered: char search on spl

    Hi. How can i do a search of a character in a string on spl.
    The systax doesn´t work on a stored procedure:
    for i = 1 to length(string)
    strint(i) = chrSearch
    end for
    thanks

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780
    Hi,

    Please test with:

    LET var=myvar[1,4]. --- This, print the first four characters.
    Or
    for i = 1 to length(string)
    if strint(i) = "chrSearch"
    end for

    Gustavo.

Posting Permissions

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