Searching for exact text
Hi - I've a problem when looking for exact text, eg:
SetStatusBarMessage AND "C#"
This matches any words beginning with C - how can I specifically look for the phrase C# ??
(see the results: http://img12.imageshack.us/img12/5259/screenw.gif )
Pat Read
No. There is nobody here who works for Apple, the forum us strictly user-to-user.
I wouldn't say it's "strictly user-to-user". As terms & conditions states:
Apple involvement. Apple does not formally provide technical support on the Site. However, any information that is provided by Apple or Apple employees is offered on an "AS IS" basis without warranties of any kind.
Thanks for the suggestion. Although, the problem is not really to get rid of the message (as you can dismiss it quite easily) but to understand why it appears there in the first place. Is it a malware? is it a bug?
So thanks for that. Although as you mentioned, it wasn't very enlightening.
(The 2000 views were probably a couple of years ago. Look at the dates on the posts.)
I did. Half the people who posted had this issue in 2011, and the other half (including me) posted in the last couple of months. So it might be a recurring thing.
I have no idea when 2000 users googled "Tap Continue and sign in to purchase a gift" and viewed this post. Could have been 2 years ago or in the last couple of months.
Similar Messages
-
How to search for exact string?
Is there any way to search for the text string exactly as I enter it? Like 'exact search' in the OSS notes?
For example, I'm trying to find the forum posts regarding the Excel 2007 file format XLSX. By XLSX the search finds hundreds of entries, but most of them are not even close. For example, this was one of the top results: /thread/1078918 [original link is broken]
Why is it getting picked up when 'xlsx' doesn't even appear there? We are frequently complaining about the users who don't use search before posting, but, frankly, if it works like this, I can't blame them...>
Jelena Perfiljeva wrote:
> Why is it getting picked up
>
=> https://forums.sdn.sap.com/search.jspa?threadID=&q=%22Whyisitgettingpicked+up%22&objID=f40&dateRange=all&numResults=15&rankBy=10001
"Why is it getting picked up"
I regularly use this to (re)find threads where I remembered a specific comment or even spelling mistake.
Perhaps a better option in your case would be to use an AND between individual terms.
I generally tend to edit the search string parameters directly, as it seems to cache previous results and do a search within a search. That might be an option for you as well though.
Cheers,
Julius
Edited by: Julius Bussche on Jul 10, 2009 11:38 PM -
How To Search For a Text In JTable Column?
hi there
i want to search for specific text in a JTable Column
And If The Text Exists Highlits it?
any ideas or useful links or tutorials?Well, then that would be a Swing related question. Did you search the Swing forum to see how rendering works.
-
Post Author: Farooque
CA Forum: Other
Hi,
I am using Crystal report viewer (Crviewer.dll) version 11.0.0.1282 to show crystal reports in my VB6 application. When we search for any text in a multipage report after the last find system shows a message "Crystal Report Viewer" "Text cannot be found in the report" and trows an unhandled error and closes the application. How can I fix this?
Please help
Thanks in advance.
Farooque. ([email protected])Enter the following:
viewer blank net crystal
into the search box in the top right corner. You should get a number of hits (Kbases and articles) that should point you to a solution.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Searching for a text in the file.
I have a to search for a particular text, in the file.
Since my file is of large size, I do not want to read the file line by line searching for the text.
Is there any API which will help me do this?arc_g wrote:
Having found the text in the file, I want to read from that point/index to the end of the file.That I can do using RandomAcessFile.
The point is to find the text in the fileIf your problem is related to http://forums.sun.com/thread.jspa?threadID=5378628&tstart=0 then you do not want to search from the front of the file. -
Search for any text in column filter on adf table
Hi,
I have column filter on adf table where I can search for any text starting with by default.
For e.g. you have data my name is sam you can search on table column filter by my and you get the results my name is sam
but I want to search by any word let's say sam and I want to display same result.
Thank you,
Savan Shah.You probably can use wildcards (% and _ )
for example %my%
Dario -
FQL query text to search for exact string
Hi
we are using SharePoint 2010 with FAST search...
I'd like to be able to search for this exact string that contains parentheses... "(ABC)"
I thought it would be:
ManagedProperyName:"(ABC)"
this returns results with just ABC ... it ignores the parentheses... i need to only show documents with "(ABC)"For exact query you can use equals. For example MPName:equals("<term or phrase>")
However, in your case the parenthesis is considered a special characters which are stripped off during document processing and at query time. -
My group box is causing problems when searching for a text line in a text file.
I am developing a booking system, so for this I need to ensure that no two clients can book the same appointment slot. So, on testing my code which prevents double booking, the system doesn't seem to find the text line being searched for in the text file
when it (purposefully) should.
I have tried isolating the problem using breakpoints, and I've found that when the 'SearchLine' (referring to my code below) does not include the 'TimeComboBox.text' piece and instead this value is written into the code, the system is able to find the SearchLine
without any problems. But, when assigning the group box's value to a variable and using this in the SearchLine instead, or without even using a loop and just doing a simple line by line search, the program can't find this line of text in the file.
I'm lost for ideas. I have tried everything I can think of. Could anyone make any suggestions as for what is the problem with my group box? (I'll explain the code beneath it).
'Setting the value of the SearchLine (which is a String)
SearchLine = String.Concat(DateTimePicker1.Value.Date & " " & TimeComboBox.text)
Dim FoundApp As Boolean
Dim objReader As New System.IO.StreamReader(basicfilepath & "Text Files\Client Booked Appointment DatesTimes.txt")
FoundApp = False
'Reading the file's contents and checking for the SearchLine
Do While (objReader.Peek() <> -1) or (FoundApp = True)
If (TextLine = SearchLine) Then
'Line contains SearchLine. Appointment already exists.
FoundApp = True
Else
'Line doesn't contain SearchLine. Carry on searching.
Msgbox("Line not found.")
End if
Loop
Explanation
When the line is searched for, the 'FoundApp' value must be set to 'True' when it is found. If it is not found, it remains false.
To isolate the problem, I've displayed the SearchLine in a message box in the past to make sure that the correct line of text is being searched for.
In basic terms, my program is searching for the exact line of text which exists in the text file, but for some reason it is not coming up as 'Found'. The error occurs when the group box's value is used. The text file which is being read is
definitely correct. Please help, any suggestions would be appreciated.
Thank youHi
It would appear that your snippet doesn't actually read the file at all.
Here is my test which works fine.
Option Strict On
Option Infer Off
Option Explicit On
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim SearchLine As String = "18:09:38 : XTaskSettings.Load PARAMS: begin"
Dim FoundApp As Boolean = False
Dim TextLine As String = Nothing
Dim objReader As New IO.StreamReader(Application.StartupPath & "\Data\Report Q1.txt")
FoundApp = False
Do While (objReader.Peek() <> -1) Or (FoundApp = True)
' this was missing
TextLine = objReader.ReadLine
If (TextLine = SearchLine) Then
'Line contains SearchLine. Appointment already exists.
FoundApp = True
MsgBox("Line found.")
Else
'Line doesn't contain SearchLine. Carry on searching.
MsgBox("Line not found.")
End If
Loop
End Sub
End Class
Regards Les, Livingston, Scotland -
Searching for a text in multiple vi's
I have to search for a particular text ("c:\" to be exact) in files that make up a project (about 350 of them). (My task is to replace absolute paths with relative paths). I tried to search within files using windows explorer search feature but it reurned no result (maybe the vi's are not stored as text files). So how may I achieve the given task?
(Thanks in advance to all those good people out there who help people like us. What would I do without your guidance? Have a very productive valentine's day)In LV 7.1 I am able to do a search on the text from an Enum used as
a state diagram selector. In fact, I can even specify
whether the state is to be visible or not. I will find all the
Enums with that state exposed (ie "Init") as well as the case statement
with the string in it. Very useful.
However,
in LV 8.5 it no longer finds the enums or the case! It doesn't
even find plain strings used for free text on the BD or FP, which 7.1
will gladly do. It seems as if 8.5 only wants to find
labels. This is not quite as useful.
I tried searching this topic but could not find any comments. Anybody clue me in on what I'm missing? -
HT201285 Is there a way to search for deleted texts on the iphone 5c?
Can I recover texts I have deleted?
Yeah, but 1Password charges for both the iPhone client AND the Mac/Windows client, and it ain't cheap! Plus, it only syncs via Dropbox, and where I work Dropbox is banned due to security concerns.
Sure, there is Secure Notes, a free form entry part of 1Password, but a bug in the program will not let you view all the text you can put in the field!! You have to EDIT the text to see the whole list! What if you accidentally delete or change an entry while scrolling through your entries??
Plus NONE of the programs I have tried, and I have tried a lot, can find text IN the file - do a search and it will tell you what file/folder the text is in, but YOU have to scroll down through 400 entries one at a time looking for the entry.
I use a program called Secure Text - I have many admin passwords, and DO not need a field based program. Secure Text is totally freeform entry. However, it suffers from the same search issue.
If someone knows of a secure text program that uses a file/folder type of layout, free form entry, AND can actually tell you where in the file/folder the text you searched for is, PLEASE let me know! Plus sycing via some method other than Dropbox would be a plus.
Before I got my iPhone, I used a program called Tombo for my WinCE based system AND my Windows workstation, and the synced up fine without iTunes, internet, DropBox type functionality or any of that horsecoller stuff Apple likes to throw on your neck. -
How to search for a text node with a particular value in an xml document with labview
supposing i have the following xml document:
<head>
<book>
<bookname>zio</bookname>
<author>dan</author>
</book>
<book>
<bookname>the spear warrior</bookname>
<author>britney</author>
</book>
<book>
<bookname>the beard</bookname>
<author>derrick</author>
</book>
</head>
i want to search for the author of the book "the beard" using for example the V.I Get first match of labview to access the the node with value "the beard" and then use Get next sibling V.I and Get node text content to get get the author of this book..so my question is how do i write the xpath expression for Get first match so as to access the node with bookname "the beard" instantyly? am trying to minimise the use of loops because they increase the time duration,..thank you (NB:i dont want to use Get all Matched V.I because it obliges me to use a loop in order to access the name derrick and this increases the time duration for my v.i)
Solved!
Go to Solution.Since it's all text, why not use a real quick Match Pattern (or Regular Expression, but you don't need that much power here), see attached.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ
Attachments:
Two-stage match demo.vi 8 KB -
How do I search for a particular text and find the number of occurence of this text in a text file?
try this example using regular expressions.
public class Test {
public static void main(String[] args) {
Pattern p = Pattern.compile("(test)");
Matcher m = p.matcher("test asjd flkjasd kfjasd klftest asld?kjfaslkdftest aaaaab");
int count = 0;
while(m.find()) {
count++;
System.out.println(""+ count); -
How to search for a text string in Reports designer?
In iDS reports (10gR2), I want to search from top down for a text string was used in one of the queries or triggers. In Forms, you can do it, in reports the related menu item is always seems to be grayed out no matter what item I pick in the Navigator. Is it doable or not? If yes, then how. I don't wanna open each program piece including the queries in the data model, report triggers or program units and look for (by visual scanning) for the text I am searching for. This is crazy. There must be a way to do it. Thanx.
That is pretty bad for such an expensive report development program. The forms allows it, I wonder why Oracle did not include similar functionality in the reports developer. I knew the conversion to ascii, but during development it is pain in the ... just to search for a simple text string in the related program units in the report, to convert to ascii, do the search and then go back to the developer. Anyway, if that is the only way, there is nothing we can do I guess :(
-
hi i want to search for a file in the same folder as my project and read the contents of that file ... i know how to read from text file but i just need to know how i can search in the folder to look for a txt file called me.txt and open it for reading.. any suggestions?
thanks in advance
please provide some code for me... thx alotLook at the File class in Java API. You can create a file object by passing the file name.
Then you can check whether the file exists or not by using exist methos of the File. (Of course, you need to know the path of the file). -
Search for exact match without additional words
Hi everybody,
is it possible to find out if a tag contains a certain word or phrase and nothing else? E.g. the search for all documents with the title "foo" should match all documents containing <title>foo</title> but not documents that contain something like <title>foo bar</title>. I tried something like "( foo ~ ( % ~ foo ) ) WITHIN title" but I get a "wildcard query expansion resulted in too many terms" error, so using a wildcard is no option here. Any ideas?Another method would be to use extractvalue to limit the rows. It would still use the text index to get the rows with foo in it, then extractvalue would limit it to just those rows where only the word foo is in it. This would eliminate the need for a procedure or user_datastore or increasing the index size. Please see the demonstration below.
SCOTT@orcl_11gR2> create table documents
2 (text varchar2 (45))
3 /
Table created.
SCOTT@orcl_11gR2> insert all
2 into documents values ('<title>foo</title>')
3 into documents values ('<title>foo bar</title>')
4 into documents values ('<title>bar foo</title>')
5 select * from dual
6 /
3 rows created.
SCOTT@orcl_11gR2> insert into documents
2 select '<title>' || object_name || '</title>'
3 from all_objects
4 /
76012 rows created.
SCOTT@orcl_11gR2> create index test_idx
2 on documents (text)
3 indextype is ctxsys.context
4 parameters
5 ('section group ctxsys.auto_section_group')
6 /
Index created.
SCOTT@orcl_11gR2> set autotrace on explain
SCOTT@orcl_11gR2> select * from documents d
2 where contains (text, 'foo within title') > 0
3 and extractvalue (xmltype (d.text), '//title') = 'foo'
4 /
TEXT
<title>foo</title>
1 row selected.
Execution Plan
Plan hash value: 3102160860
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 36 | 10 (0)| 00:00:01 |
|* 1 | TABLE ACCESS BY INDEX ROWID| DOCUMENTS | 1 | 36 | 10 (0)| 00:00:01 |
|* 2 | DOMAIN INDEX | TEST_IDX | | | 4 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter(EXTRACTVALUE("XMLTYPE"."XMLTYPE"("D"."TEXT"),'//title')='foo')
2 - access("CTXSYS"."CONTAINS"("TEXT",'foo within title')>0)
Note
- dynamic sampling used for this statement (level=2)
SCOTT@orcl_11gR2>
Maybe you are looking for
-
Creative Cloud Dreamweaver suddenly inaccessible. AAARGH.
I have Adobe Dreamweaver CS6 via Creative Cloud (paying $19.99/mo via automatic debits w/ 12-month commitment). I've been paying now for 4 months. My last payment was deducted from my bank account 7 days ago. I had no trouble starting and using Dream
-
No longer receiving Facebook notifications
I'm sure it's something simple but since upgrading to Yosemite I no longer get Facebook and Twitter notifications in notification centre and my MacRoumors notifications have disappeared completely. I've checked in system preferences and Facebook and
-
I don't know how to fix my phone
-
Hi, I'm using photoshop cs4 and I just have become aware of screen flickering when using certain colors. Also the neutral gray background of the pasteboard is flickering like crazy. I don't think it is my system since photoshop is the only applicat
-
Trial Songs from Store Won't Play
When I double click the songs in the iTunes Store to listen to them, nothing happens. How do I get them to play? Is it a problem with the iTunes Store?