counting / in a URL

Results 1 to 2 of 2

Thread: counting / in a URL

  1. #1
    trellisa Guest

    Default counting / in a URL

    how can I count the number of occurences of /(backslash) in www.mystring/thisstring/thistring/thisstring/slash.html

  2. #2
    Corin Guest

    Default not sure it's the best way but it should work

    myString = "ww.mystring/thisstring/thistring/thisstring/slash.html"<BR><BR>myArray = Split(myString, "/")<BR><BR>myNumber = ubound(myArray)

Posting Permissions

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