Questions tagged [contain]
214 questions
0
votes
2 answers
Contains MySQL function - unexpected result
I am using MySQL 5.5.35 server on Debian 7 x86_64. I am trying to check if the point is within the rectangle. I use the Contains function this way:
SELECT Contains
(
Polygon
(
Point(55.538322,37.332026),
…

Kolyunya
- 5,973
- 7
- 46
- 81
0
votes
2 answers
Checking the elements of a set for multiple integers
I want to change the form of a given graph. The graph is in the form userID, number of followers, follower1, follower2, ..followerN, delimiter '---', userID2, ...etc.
I have to replace the followers with place values from a second file of the…

gauche_z
- 1
- 3
0
votes
2 answers
Java - Regex to grab any words that contain one or more single quote
I want to create a Java regex to find all words that have a single quote inside them. Words examples :
'word'
'Word
'W'ord
'W'or'd
Word'
w'orD
w'o'r'd
I hope i am not missing any case above. Currently i am using this query…

Brad
- 4,457
- 10
- 56
- 93
0
votes
1 answer
css background=contain URL change not working cross browser
so I have a gallery made out of a DIV with changing background image depending on the preview image/text you click on.
As the pics are different sizes I chose to use "background size contain" .. my switch function works perfect in Safar but less so…

CoderGirlbyday
- 27
- 1
- 7
0
votes
1 answer
XSLt - Select image contains in filename 'img_'
Hello i have a question about XSL . I try to select all images in a directory with starts with filename 'img_'. at the moment my code is this:

dA_uNknOwN
- 931
- 2
- 14
- 23
0
votes
2 answers
cakephp find with contain belongsTo condition
This is the situations:
A Cart belongsTo Product. A Product belongsTo a Category.
This is my query:
$results = $this->Cart->find('all',
array(
'contain' => array(
'Product' => array('Category')
),
…

NikoDev
- 15
- 1
- 9
0
votes
1 answer
change the contain of select box in jquery
I have 2 select boxes like:
and
0
votes
2 answers
CakePHP conditions in associated Models
I have a database with Classes, Semesters, Users, and Visits(Visits is a join table for Users and Classes)
The relations are:
User hasAndBelongsToMany Class (through Visits
Class belongsTo Semester
Now I want to view all Visits with Classes in an…

SPie
- 174
- 2
- 13
0
votes
1 answer
List contain different datatypes
I want to store values of different data types in a list and retrieve them as it is, such as:
1. 5
2. True
3. PersonName
4. 0.325
is it possible?

Sracanis
- 490
- 5
- 25
0
votes
1 answer
Jquery using contains to find text containing parentheses
Maybe it is simple, but I can't make it work...
here is my code:
function br_text() {$("#text_fields:contains('\(') ").each(
function()
{
$(this).css('color','red')
alert($(this).text())
}
)
}
I need to get the object…
0
votes
3 answers
Not Finding Object in ArrayList
I am creating a deck of 20 cards. Each of them are assigned Integer president from 1-10. The deck should be as follows:
1, 1, 2, 2, 3, 3, ... 17, 17, 18, 18, 19, 19, 20, 20
The contains search says that it is a new card in the deck every time. I…

Evorlor
- 7,263
- 17
- 70
- 141
0
votes
0 answers
CakePHP containables - Working backwards
I have a database of Clients. Each Client can have many Contracts. Each Contract contains many Invoices.
In the Invoice view, i'm trying to display the client_name, but I only have the contract_id with which to link the Invoice to the Client.
I have…

OllyBarca
- 1,501
- 1
- 18
- 35
0
votes
4 answers
How to search for number in string with method Contains and Linq in c#?
I create calculator which have buttons with numbers and operators for basic operation (+, -,...) and just want to filter buttons with numbers to detect when is clicked number (between 0-9). Also i put new eventhadler which convert sender to…

tonni
- 1,225
- 4
- 19
- 35
0
votes
3 answers
How to get drop-down list item by specific text(case insensitive)
I worked with J-Query, I have a problem in getting options value.
I want to get option which have a specific text(text is case insensitive).
I used following code -
My Html Code is -
0
votes
2 answers
XSL condition to check if node exists
I want to check if in my XML exists node that has type attribute containing string type_attachment_.
Is it a correct way to check it?
something
I don't know how…

karex
- 221
- 1
- 6
- 14