SPONSORS:






User Tag List

Results 1 to 3 of 3

Thread: Split Function?

  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    73
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Split Function?

    Hi,

    Does anyone know if 4Test has any kind of built-in function for splitting a string into an array i.e. like split() in TSL?

    The closes I can find is GetField() but this only returns a single field. Also it returns an empty string if the field is not found so you cant differentiate between a blank field and the end of the list.

    Thanks

    Sam


    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    117
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Split Function?

    David Genrich has written a split() function that probably does what you want.

    Search this forum for "Striping Text" (note the single "p" is not a typo on my part).

    You can also check the downloads section of the forum for other useful routines.


    ------------------

  3. #3
    Senior Member
    Join Date
    Jun 1999
    Location
    Fremont, CA, USA
    Posts
    355
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Split Function?

    Here is a Split and Join function:

    ------------------
    David Genrich
    david@e2Open.com
    david_kim@usa.net

    [This message has been edited by davidgenrich (edited 11-23-2001).]

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:39 AM.

Copyright BetaSoft Inc.