Questions tagged as 'string'

1
answer

How to read from a file and save on variables in Java

I'm having a hard time, because in an exercise of manipulating files in Java, the teacher asked us to create a program that takes the name and note 1 and note 2 of two tests and store in a txt file of the following form: name, note1, nota2 only...
asked by 18.11.2016 / 13:19
1
answer

How do I collect a String and use it in an if? [closed]

puts "Tem dinheiro? s/n" x = gets.chomp if x = s puts "Vou viajar" else puts "Não vai ser dessa vez" end     
asked by 29.11.2016 / 17:14
2
answers

Problems with special characters in ASP.NET GRIDVIEW

I'm building a dynamic GRIDVIEW, where the information for each TD will be a DIV. exemplo: <td><div id="d1" class="redips-drag t1">z</div></td> I'm filling in the variant as follows: if (dtWorkServiceTimeByWorkerAn...
asked by 20.08.2015 / 13:06
1
answer

Ordering of string vectors and numbers

I have a problem with a facul exercise. Basically it is a store system, where I enter with the amount of stores, the quantity of products, the name of the products, and the quantity of products in each store. So far so good, my problem is in the...
asked by 03.05.2016 / 22:07
1
answer

convert a string to vb.net - convert.toDouble

I'm trying to convert a string to double into vb.net: Dim result as double Dim ValueString as string = "-42.1942339" result = Convert.ToDouble(ValueString) Console.WriteLine(result) I'm getting the following value -421942339...
asked by 06.04.2015 / 09:02
1
answer

Maximum query text size sql

What is the maximum length of an sql query string? (maximum query statement) Ex: SELECT * FROM ajuda WHERE (id = 1 OR id = 2 OR id = 3 OR... @edit: The bank I was using (access) has limits other than those set by @PauloHDSouza. Numbe...
asked by 02.12.2015 / 15:51
1
answer

How to use string in C ++?

I'm having trouble dealing with string . #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <iostream> using namespace std; bool ArqExiste(string Arquivo) { ifstream verificacao (Arquivo.c_str...
asked by 09.07.2015 / 17:01
2
answers

How to extract json from a jsonp into a string in Scala

I'm using Scala and I have an http response like this: _SS_MainSolrCallbackH( { response: { numFound: 1, start: 0, maxScore: 4.9338827, docs: [ { tipo: "M", id: "mus1933196",a s: 4....
asked by 11.08.2014 / 18:35
1
answer

Change varchar field yyyy-mm-dd hh: mm: ss to date dd / mm / yyyy in SQL Server

Dear, I'm extracting data from a satisfaction survey log, and I'm trying to create a column with the date format, so I can group the days and months into an Excel PivotTable. For more details, follow the field varchar with the date:...
asked by 29.08.2018 / 13:04
1
answer

Is it possible to interpolate a string already declared in C #? [duplicate]

The question What does the "$" symbol mean before a string? , explains that it is possible to do interpolation of strings in C # through $ (dollar sign). But I noticed that in all cases where it is used, the syntax works for directl...
asked by 27.07.2018 / 18:43