Jump to content

Recommended Posts

Hello, I want to be able to search for multiple strings and if any of the strings are found I want it returned which one it is. I've been able to search for multiple strings using the OR command, but I'm not sure how I am supposed to make it return which of my strings is found. I've given an example below

If StringInStr($html, Batman) OR  StringInStr($html, Superman) Then
   MsgBox(0, "Success", "The string found was: Superman")
EndIf

So it will search for the two strings and whichever it founds it will return me with. How can I make that work?

Link to post
Share on other sites

I think that's a job for StringRegExp. I hope some RegExp guru will chime in to explain which pattern is needed :)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to post
Share on other sites
;~ $html = "string about Batman"
$html = "string Superman is in"

$Batman = StringInStr($html, "Batman")
$Superman = StringInStr($html, "Superman")
$sOut = $Batman > 0 ? "Batman: " & $Batman : "Superman: " & $Superman
msgbox(0, '' , $sOut)

 

This assumes there can only be one or the other, never both.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to post
Share on other sites

or make a own func for it:

$sIsIn='Batman|Superman|Spiderman'
$sString='Once a day Batman and Spiderman helped each other. As it was a hard fight against unknown enemy, they called Spiderman'
$sTest=_FindFirstMatch($sString,$sIsIn)
MsgBox(0,'func test',$sTest)
Func _FindFirstMatch($sStr, $sDelArray)
    Local $aIN = StringSplit($sDelArray,'|',3)
    For $i=0 To UBound($aIN)-1
        If StringInStr($sStr,$aIN[$i]) Then return SetError(0,$i,$aIN[$i])
    Next
    Return SetError(1,0,'')
EndFunc

 

Link to post
Share on other sites
5 minutes ago, iamtheky said:
;~ $html = "string about Batman"
$html = "string Superman is in"

$Batman = StringInStr($html, "Batman")
$Superman = StringInStr($html, "Superman")
$sOut = $Batman > 0 ? "Batman: " & $Batman : "Superman: " & $Superman
msgbox(0, '' , $sOut)

 

This assumes there can only be one or the other, never both.

Worked like a charm thanks! Just curious, but when I am retuned with the value it is followed by a number. What is this number? 

Link to post
Share on other sites

The string in string return, which is the position of the match.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to post
Share on other sites
Local $stringFound = FindString ( "Superman is in" )
ConsoleWrite ( "The string found was: " & $stringFound & @CRLF )

Func FindString ( $sString )
    Local $sReturnValue = ""

        Switch $sString
            Case StringInStr ( $sString, "Superman" ) > 0
                $sReturnValue = "Superman"
            Case StringInStr ( $sString, "Batman" ) > 0
                $sReturnValue = "Batman"
        EndSwitch
        Return $sReturnValue
EndFunc

Using the switch / stringinstr statement. Assuming only one result gets returned

Link to post
Share on other sites
5 minutes ago, iamtheky said:

The string in string return, which is the position of the match.

Oh alright. Makes sense 

 

4 minutes ago, pluto41 said:
Local $stringFound = FindString ( "Superman is in" )
ConsoleWrite ( "The string found was: " & $stringFound & @CRLF )

Func FindString ( $sString )
    Local $sReturnValue = ""

        Switch $sString
            Case StringInStr ( $sString, "Superman" ) > 0
                $sReturnValue = "Superman"
            Case StringInStr ( $sString, "Batman" ) > 0
                $sReturnValue = "Batman"
        EndSwitch
        Return $sReturnValue
EndFunc

Using the switch / stringinstr statement. Assuming only one result gets returned

That's interesting. But what if I were to have lets say, 20 different substrings. How would I search for 20 different substrings within a string and be returned with the one that occur. (Assuming that there is only one possible of the 20).

Would I just add the other 18 to the Switch?

Edited by AliOzturk
Link to post
Share on other sites

If we can assume that - Batman or Superman will appear in the string, and only one of them will appear.

Then its one line:

msgbox(0, '' , StringInStr($html, "Batman") ? "Batman": "Superman")

 

 

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to post
Share on other sites
3 minutes ago, iamtheky said:

If we can assume that - Batman or Superman will appear in the string, and only one of them will appear.

Then its one line:

msgbox(0, '' , StringInStr($html, "Batman") ? "Batman": "Superman")

 

 

Haha wow. That's so much more simple, will it work with multiple strings as well? Let's say 20 different strings to search for instead of the two?

Oh wait... The problem with this is that there doesn't have to be any of them. It's a loop, so it just keeps searching until one of them appears. So this actually doesn't work with what I want, unfortunately 

Edited by AliOzturk
Link to post
Share on other sites

see, there are rules.

$html = "string about Batman and Asterix"
;~ $html = "string about teen titans go"

local $aSuper = ["Batman" , "Superman" , "Lobo" , "Deadpool" , "Wolverine" , "Colossus" , "Sabertooth" , "Groo" , "Asterix" , "Obelix"]

$sOut = ""

For $i = 0 to ubound($aSuper) - 1
  If stringinstr($html , $aSuper[$i]) Then
     $sOut &= $aSuper[$i] & @LF
  EndIf
Next

msgbox(0, '' , $sOut = "" ? "None Found" : $sOut)

 

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to post
Share on other sites
#include <array.au3>

; Add one or More Strings to the Array $aStringToFind
Local $aStringToFind = ["Superman", "Batman", "Captain America", "The Hulk"]
; _arraydisplay ( $aStringToFind )  ; for debugging purposes

Local $stringFound = FindString ( "Captain America is in" )
ConsoleWrite ( "The string found was: " & $stringFound & @CRLF )

; Func that loops trough the array and returns 
Func FindString ( $sString )
    For $i = 0 to UBound ( $aStringToFind ) - 1
        If StringInStr ( $sString, $aStringToFind[$i] ) > 0 Then
            Return $aStringToFind[$i]   ; String Found, return result.
        EndIf
    Next
    Return ""   ; String not found
EndFunc

Perhaps a Array is the way to go?

Edited by pluto41
Link to post
Share on other sites

A regexp will do that nicely.

Local $s = "My friend is Superman and has a blue suit"
ConsoleWrite(_FindHero($s) & @LF)
$s = "I'm Catwoman under disguise"
ConsoleWrite(_FindHero($s) & @LF)
$s = "Written as spiDer-Man works as well"
ConsoleWrite(_FindHero($s) & @LF)
$s = "Just as Captain           AmeRiCa"
ConsoleWrite(_FindHero($s) & @LF)
$s = "But not this: Captain-AmeRiCa"
ConsoleWrite(_FindHero($s) & @LF)
$s = "Order matters: batman beats spiderman"
ConsoleWrite(_FindHero($s) & @LF)


Func _FindHero($s)
    Local $a = StringRegExp($s, "(?i)(batman|spider(?:-?)man|superman|catwoman|ironman|captain(?: +)america)", 1)
    Return (@error ? -1 : $a[0])
EndFunc

 

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to post
Share on other sites

very nice, since regexp plays well with arraytostring, an array makes it all pretty like.

#include<array.au3>

$s = "string about Batman and asterix"

local $aSuper = ["Batman" , "Superman" , "Lobo" , "Deadpool" , "Wolverine" , "Colossus" , "Sabertooth" , "Groo" , "Asterix" , "Obelix"]

_ArrayDisplay(StringRegExp($s, "(?i)" & _ArrayToString($aSuper), 3))

 

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to post
Share on other sites

My approach

$sTest = "Look, up in the sky, it's a bird, it's a plane, it's Superman"
ConsoleWrite(_FindStringInStr($sTest, "Superman"))
ConsoleWrite(@CRLF)
ConsoleWrite(_FindStringInStr($sTest, "Superman|Batman|Spiderman"))

Func _FindStringInStr($sString, $sWords)
    Local $sFind, $sReturn
    If Not StringInStr($sWords, "|") Then ; single item
        $sFind = StringInStr($sString, $sWords)
        If $sFind <> 0 Then
            Return "FOUND: " & StringMid($sString, $sFind, StringLen($sWords)) & @CRLF
        Else
            Return "NOT_FOUND: " & $sWords
        EndIf
    Else ; multiple item
        Local $aWords = StringSplit($sWords, "|", 2)
        For $i = 0 To UBound($aWords) - 1
            $sFind = StringInStr($sString, $aWords[$i])
            If $sFind <> 0 Then
                $sReturn &= "FOUND: " & StringMid($sString, $sFind, StringLen($aWords[$i])) & @CRLF
            Else
                $sReturn &= "NOT_FOUND: " & $aWords[$i] & @CRLF
            EndIf
        Next
        Return $sReturn
    EndIf
EndFunc   ;==>_FindString
FOUND: Superman

FOUND: Superman
NOT_FOUND: Batman
NOT_FOUND: Spiderman

You know what are the string found and what are not found, plus you don't need any complex regex or array

Nothing is so strong as gentleness. Nothing is so gentle as real strength

 

Link to post
Share on other sites

And why not strictly the basics, using a func very easy to configure ?

$main_txt = "Superman is in"

Msgbox(0,"", "The found hero was: " & _FindHero($main_txt) )

Func _FindHero($sString)
    Local $sHeroes = "Batman,Superman"   ; comma-separated list of heroes

    Local $aHeroes = StringSplit($sHeroes, ",")
    For $i = 1 to $aHeroes[0]
        If StringInStr($sString, $aHeroes[$i]) Then Return $aHeroes[$i]
    Next
    Return "none"
EndFunc

 

Link to post
Share on other sites
18 hours ago, mikell said:

And why not strictly the basics, using a func very easy to configure ?

$main_txt = "Superman is in"

Msgbox(0,"", "The found hero was: " & _FindHero($main_txt) )

Func _FindHero($sString)
    Local $sHeroes = "Batman,Superman"   ; comma-separated list of heroes

    Local $aHeroes = StringSplit($sHeroes, ",")
    For $i = 1 to $aHeroes[0]
        If StringInStr($sString, $aHeroes[$i]) Then Return $aHeroes[$i]
    Next
    Return "none"
EndFunc

 

Worked like a charm. Was just what I was looking for actually. Thank you!

Edited by AliOzturk
Link to post
Share on other sites

 

18 hours ago, mikell said:

And why not strictly the basics, using a func very easy to configure ?

$main_txt = "Superman is in"

Msgbox(0,"", "The found hero was: " & _FindHero($main_txt) )

Func _FindHero($sString)
    Local $sHeroes = "Batman,Superman"   ; comma-separated list of heroes

    Local $aHeroes = StringSplit($sHeroes, ",")
    For $i = 1 to $aHeroes[0]
        If StringInStr($sString, $aHeroes[$i]) Then Return $aHeroes[$i]
    Next
    Return "none"
EndFunc

 

full ACK:

21 hours ago, AutoBert said:

or make a own func for it:

$sIsIn='Batman|Superman|Spiderman'
$sString='Once a day Batman and Spiderman helped each other. As it was a hard fight against unknown enemy, they called Spiderman'
$sTest=_FindFirstMatch($sString,$sIsIn)
MsgBox(0,'func test',$sTest)
Func _FindFirstMatch($sStr, $sDelArray)
    Local $aIN = StringSplit($sDelArray,'|',3)
    For $i=0 To UBound($aIN)-1
        If StringInStr($sStr,$aIN[$i]) Then return SetError(0,$i,$aIN[$i])
    Next
    Return SetError(1,0,'')
EndFunc

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By levila
      Hi guys, really need your help. How can i check every 5 min if my text file include String "Markus". Btw i need this function to run on my Logs file that are updated whenever some event is triggered (logs appear in same txt file). So i did test some codding to test isit possible.
      But somehow, it only detect for the 1st time String check, and keep coming the same output every time, it didnt check/read on the current txt file that has been updated.
      For this purpose i update txt file manually so i put String "Markus" and check, and try to remove it agn.
      Here is my code:
       
      $file = FileOpen("c:\hello.txt", 0) $read = FileRead($file) func _CheckString() If StringInStr($read, "Markus") Then $position = StringInStr($read, "Markus") MsgBox(0,"","Alert Found - Logs Line No "&$position, 5) FileClose($file) Else MsgBox(0,"","No Alert found", 5) FileClose($file) EndIf EndFunc $Mins = 0.5 ; i change to fewer min for testing purpose $Timer = TimerInit() While 1 If TimerDiff($Timer) > ($Mins * 60000) Then ; count per minute multiplied by 60sec. _CheckString() ConsoleWrite("30 Sec have passed!" & @CRLF) ; console to see if its running. $Timer = TimerInit() EndIf WEnd  
    • By OneSolution
      Hi guys! I have these checkbox that I'm trying to click on. They have the same inner-text string but a different ID. Sometime there can be as many as 4 checkbox
      with the same string but the ID is always different. I tried a few methods down below but I'm unable to make any real results. Any suggestions or solutions I would
      appreciate it very much.
      <ul><li class="cx-list-item-wrapper" data-day="Aug 2 2018 07:27:37 GMT-0700 (Pacific Daylight Time)"><div class=""><div class="cx-list-item-container"><div class="cx-list-item cx-item-icon-2 pointer-cursor"><div class="cx-item-contents cx-item-time col-md-2"><!-- react-text: 675 -->Morning<!-- /react-text --><!-- react-text: 676 -->&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-1"><!-- react-text: 678 -->OTHER<!-- /react-text --><!-- react-text: 679 -- >&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-2"><!-- react-text: 681 -->8:30 AM<!-- /react-text --><!-- react-text: 682 -->&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-2"><!-- react-text: 684 -->10:30 AM<!-- /react-text --><!-- react-text: 685 -->&nbsp;<!-- /react-text -- ></div><div class="cx-item-contents col-md-1"><!-- react-text: 687 -->SRV<!-- /react-text --><!-- react-text: 688 -->&nbsp;<!-- /react-text --></div></div></div><div class="pull-right cx-listitem-chk"><div><input id="cx_checkbox1" class="cx-fa-chk cx-selfschedule-chk" value="on" type="checkbox"><label for="cx_checkbox1"></label></div></div></div></li><li class="cx-list-item-wrapper" data-day="Aug 2 2018 07:27:37 GMT-0700 (Pacific Daylight Time)"><div class=""><div class="cx-list-item-container"><div class="cx-list-item cx-item-icon-2 pointer-cursor"><div class="cx-item-contents cx-item-time col-md-1"><!-- react-text: 698 -- >Morning<!-- /react-text --><!-- react-text: 699 -->&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-1"><!-- react-text: 701 -->OTHER<!-- /react- text --><!-- react-text: 702 -->&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-2"><!-- react-text: 704 -->8:30 AM<!-- /react-text --><!-- react-text: 705 -->&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-2"><!-- react-text: 707 -->2:30 PM<!-- /react-text --><!-- react-text: 708 -- >&nbsp;<!-- /react-text --></div><div class="cx-item-contents col-md-1"><!-- react-text: 710 -->SRV<!-- /react-text --><!-- react-text: 711 -->&nbsp;<!-- /react-text --></div></div></div><div class="pull-right cx-listitem-chk"><div><input id="cx_checkbox2" class="cx-fa-chk cx-selfschedule-chk" value="on" type="checkbox"><label for="cx_checkbox2"></label></div></div></div></li></ul> I tried the _IETagNameGetCollection() but it only check the box but doesn't fire the event! And I'm unable to submit that without a click action.
      Func _Box1() $oInputs = _IETagNameGetCollection($oIE, "input") For $oInput In $oInputs If $oInput.id == "cx_checkbox1" Then $oInput.checked = true Next Sleep(10) ToolTip('box1') EndFunc ;==>_Box1 I also tried click by text.The boxes do get check by a click but the problem with that is it will select every box that has the same string. I'm allowed only to check 1 box selection at a time per day for the submit button to work.  Any preference to select only the second box and bypass the other?
      Func _Morning() For $a In _IETagNameGetCollection($oIE, "div") If StringInStr(_IEPropertyGet($a, "innerText"), "Morning") Then _IEAction($a, "click") EndIf Next Sleep(10) ToolTip('Morning selected') EndFunc ;==>Morning The last method I tried was _IEGetObjById(). It doesn't click or respond to the checkbox.
      Func _Click1() $oChk = _IEGetObjById($oIE, "cx_checkbox1") _IEAction($oChk, 'click') Sleep(20) ToolTip('box1') EndFunc ;==>_Click1  
    • By DynamicRookie
      Hey there!
       
      I've been developing a artificial intelligence.

      My first hard task was letting the A.I know when a sentence is found in memory with different words
      What i tried to do here is simply, get all the words in user sentence that could be used
      as a identifier
              
              example: Steve Jobs
              
              then identify the sentence purpose with the words we found in the past "for" loop
              
              example: Do/Know/You/Who/Steve/Jobs
              
              Compare the example in the following matching sentences in memory.
              
              1-Steve jobs was a known person
              2-Do you know who barack obama is?
              3-Do you know Steve jobs?
              4-Do you know who steve jobs is?
              5-How much money steve jobs had
              
              Then find the sentence that has way more matches than the other ones, remember that if the identifier words were not found
              (Steve jobs) then the sentence is invalid.
              
              Every sentence has a different answer and is important that the right one is chosen.
              
      If there's no more than the half of words in matches, then assign a variable the result of function, such as a return but for a global var.
      I couldn't figure out how to do that with StringRegExp.
       
      I honestly need help with detecting identifiers on memory sentences.
      I would also like to let the AI know typos, meaning that moeny and money means the same thing.
      Any help is hugely appreciated.

       
    • By LoneWolf_2106
      Hi everybody,
      i have a log file with several entries like the following one:
      INFO [26.04.2017 11:37:48] [main] XML-Data: <online-activation> <general> <userid>XYZ</userid> <mac-address/> <OU>VG-DE</OU> <ROLE>KDT</ROLE> <FOA>PRO;FC;DOM;MDD</FOA> <BRD>XYZ;IMP</BRD> </general> <applications> <app expiration-date="2017-10-01" name="BB-INFO"/> <app expiration-date="2017-10-01" name="MMSKD"/> <app expiration-date="2017-10-01" name="FM-TOOL"/> <app expiration-date="2017-04-05" name="WEB-BTD"/> <app expiration-date="2017-10-01" name="OFFLINE-BTD"/> <app expiration-date="2017-10-01" name="MDU-UPD"/> <app expiration-date="2017-10-01" name="MDU"/> <app expiration-date="2017-04-05" name="WEB-WDA"/> <app expiration-date="2017-04-05" name="WEB-ETD"/> <app expiration-date="2017-10-01" name="OFFLINE-WDA"/> <app expiration-date="2017-10-01" name="OFFLINE-ETD"/> </applications> </online-activation>  
      I need to collect all the XML-Data, my search doesn't work:
       
      Func FileSearch() $j=0 For $i = 0 To UBound($content_array) - 1 $search_result=StringInStr($content_array[$i],$search) If $search_result<>0 Then ReDim $searchResultArray[UBound($searchResultArray) + 1] $searchResultArray [$j] = $content_array[$i] _ArrayDisplay($searchResultArray) $j+=1 EndIf Next EndFunc If i search for "online-activation", it retrieves only the first and the last tag, but not what is within.
      In addition, when i use FileReadToArray, all the entries between <online-activation> and </online-activation>

    • By MrSparty1995
      I have a good handle on how to read a file line by line, and search for a given string.
      Basically using, FileOpen, FileReadLine, and StringInStr.
      I have been trying to figure out why my search keeps coming back with no match.
      For example, if my string line was "Where is Waldy", and I was searching for Waldy that comes back fine.
      But in my file, Let's say it is
      Where is "Waldy"
      So i read that line in and do a search for Waldy, but i comes back with no match since there is quotes around it.
      Is there a way to resolve this?
      Here is my actual example
      The line comes back like this
          <JposEntry logicalName="LineDisp_iSC480">
      I'm searching for LineDisp_iSC480, but its coming back with no match due to the quotes.
      Thanks in advance, James
×
×
  • Create New...