SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Guest

    Advanced Text Compare?

    I the example below I am trying to verify the returned results of an Edit/MulitLineText box. The problem I have the the returned results contain time/date Stamps. The time/date stamp may appear multiple times in the results. Does anyone know of a way to ignore specific lines that begin with specified Character. For example, if the line start with TMC do not use this line as part of the text compare. Thank you.
    [-] TestToolForTIP32DLLV.EditResult.VerifyProperties ({...})
    [ ] ""
    [-] {...}
    [-] {"MultiText", [LIST OF STRING] {...}}
    [ ] "VNP|-----"
    [ ] "VNB|-----"
    [ ] "VNM|TIP Server 3.1.0.3 Copyright (c) 1999 GenRad Inc., Westford, MA"
    [ ] "VNB|====="
    [ ] "IFB|-----"
    [ ] "TMC|21-JAN-1999:15:09:20"
    [ ] "UDC|N"
    [ ] "NOD|BOONEJ\TIPFILE0"
    [ ] "CTS|"
    [ ] "PST|SUCCESS"
    [ ] "IFB|====="
    [ ] "VNP|====="
    [ ] ""


  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Advanced Text Compare?

    Take a look at Substr(), MatchStr(), GetField(), FindItem(), and ListDelete() in the Language Reference. Any of the first four can be used to find an item. The last one can remove it. Maybe you should consider writing a date/time validation routine instead?


 

 

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 06:01 PM.

Copyright BetaSoft Inc.