Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Split String based on Two Delimiters

Results 1 to 3 of 3
Share This Thread →
  1. #1
    emzipoo4u is offline Contributing User
    Join Date
    Oct 2007
    Posts
    178
    Rep Power
    15

    Split String based on Two Delimiters

    I have a string notsengine = "111,555(888"

    I want to split this into an array so it reads

    111
    555
    888

    I am using this code to split by comma, but how do I get it to split by the bracket aswell ?

    engineArray = Split(notsengine,",")

    Thank You.

  2. #2
    gk53's Avatar
    gk53 is offline Contributing User
    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,538
    Rep Power
    278
    like that
    engineArray = Split(Split(notsengine,","),")")
    GK
    __________________________________________________ _____
    if you found this post is useful click Give Rep button (bottom side on this reply ) and agree

  3. #3
    vic53 is offline Registered User
    Join Date
    Feb 2013
    Posts
    1
    Rep Power
    0
    you can write
    engineArray = Split(replace(notsengine,"(",","),",")
    ...
    bye

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Split string
    By cutepraba in forum ASP Development
    Replies: 3
    Last Post: October 8th, 2008, 06:46 AM
  2. Without using split function hw can i split my string
    By swetareddy123 in forum ASP Development
    Replies: 2
    Last Post: August 18th, 2008, 08:08 AM
  3. Long string in string desc need to split
    By Zath in forum ASP Development
    Replies: 4
    Last Post: January 8th, 2008, 01:15 PM
  4. Split Function - Determine the point in which the string was split.
    By LozWare in forum Visual Basic Programming
    Replies: 2
    Last Post: May 15th, 2006, 04:59 AM
  5. Split URL String
    By bree in forum Visual Basic Programming
    Replies: 1
    Last Post: September 25th, 2005, 07:57 PM

ASP Free Advertisers and Affiliates