Questions tagged as 'string'

2
answers

Find a snippet of an HTML

I get a string , and it contains an HTML. Here is a table, and its columns: <td width="24%" valign="top" border="1" style=" BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT...
asked by 10.11.2014 / 15:31
0
answers

Windows 8.1 problem App.GetResourceStream method

I have a problem with a method on windows phone. It reads an xml file and returns a string, the problem is that this method only works on windows 8 and not on windows 8.1. Here is the code: public static String readFile(String path) {...
asked by 17.12.2015 / 18:28
0
answers

String conversion to BigDecimal is giving error and method does not save [closed]

I'm making a video system and on my category screen a field called value to save the value of my category. I was able to do the conversion from String to BigDecimal using the following methods: ToString, DecimalFormat, StringBigInteger, valueof,...
asked by 21.09.2015 / 15:27
2
answers

I can not delete a range of words in a string

I made a function in PHP that returns the result of a POST and converts to a string using cURL. However, my code returns a lot of useless information. I wanted to manipulate the string so that I could erase all the useless information...
asked by 27.08.2015 / 16:39
0
answers

Invert a string from a character

I would like a method to get a field on the side of a string and pass to the other side after the '=' character, eg: ColorPickerButton1.SelectedColor = My.Settings.getColorKeyword ColorPickerButton2.SelectedColor = My.Settings.getColorPrep...
asked by 05.07.2015 / 06:30
0
answers

Perform a String Query

Personal I have the following method and Query: mt_dispositivo = MtDispositivo .where("id_conta = 28 or id_conta = 29 or id_conta = 30 or id_conta = 36") .select('nome, data_criacao, data_atualizacao, tipo_conexao, is_online, status_at...
asked by 10.07.2015 / 16:15
7
answers

How do I remove accents in a string?

I have a string áéíóú What I want to convert to aeiou How do I remove the accents? I need to save in the database as a URL.     
asked by 11.12.2013 / 16:51
1
answer

Replacing Wrong Words in a Text Field

I would like an idea of how to create something of the type, text field, where we enter some wrong word (s) and then it is corrected. For example: <body><input type="text" id="exibir" onkeyup="troca()"/></body> <scri...
asked by 15.04.2016 / 03:41
3
answers

Dictionary does not return all possible words

The idea of the program is to be a dictionary, the user informs the word, the program performs a check on the characters of the word finds the position in the vector and returns the definition if the word appears in the dictionary. The problem...
asked by 17.10.2017 / 11:55
3
answers

Text looks full of trash after typing

I started creating a data collection and usage application with the following code: #include <stdio.h> #include <string.h> int main() { int idade = 0; char nome[20]; printf("Hello! How old are you? "); scanf("%d",...
asked by 06.08.2018 / 00:50