Questions tagged as 'string'

1
answer

Search for content from an online file

string nome, idade, valores; WebClient WEBC = new WebClient(); public void Exemplo() { valores = WEBC.DownloadString("https://pastebin.com/raw/r4GjhKQ3"); } I want to get the values of the name and age after the '=' of the 'values' varia...
asked by 17.06.2018 / 05:02
1
answer

change String.xml by java class

Hello, I was wondering if it is possible to modify a String from the values folder by a click of a button. these are String.xml <string name="app_name">FC MANAGER</string> <string name="goleiro_1">1 Diego Alves</string&...
asked by 03.06.2018 / 02:30
3
answers

How to convert text field with mask to double

I have a field in html of type text that has a currency mask. I have to save this value to a field of type double in the database, but I'm having trouble converting, where the value that would be after the comma is suppressed after...
asked by 02.06.2017 / 20:23
1
answer

Matching regular expressions with special REGEX symbols and line breaks

I need help in a regular expression that matches (% ) in a string whose: beginning is the end of a line with the character } continue marrying everything you find on the next line (including other escaped characters like \...
asked by 02.06.2017 / 18:47
2
answers

Script string removal

To edit this file and remove all incidence of ^ [[* m how do I edit thirst? Incidents are marked in bold.    sed 's / \ ^ [[* m // g' file The backup routine is still running on the server! The backup process began at 15:19:28 EDT and i...
asked by 20.06.2017 / 00:43
1
answer

Print pre-defined phrases, randomly in C

Hello, I'm a beginner in programming and am learning to program in C. I want to make a program that has some already defined phrases. Ex with vectors: char vet1[100] = {"Hello World!"}; char vet2[100] = {"segunda frase"}; ... and wit...
asked by 05.06.2017 / 15:25
1
answer

Can I store hash code in a database?

I was reading some questions here and a question came up on one of those questions . If I have an application I need to store strings in a database to compare later with something, but I do not need the texts, just need to know if they are t...
asked by 08.08.2017 / 14:35
1
answer

Calculate a string in Python

I would like to do a calculation of a string that I get, for example: var = '1+2' I wanted to convert this string into an account, to return 3 for the variable var and not '1 + 2', but this would not only be added, would have subtrac...
asked by 16.03.2017 / 15:50
1
answer

PHP - Get string values in string

I'm new to Wordpress and PHP and I'm having a hard time rsrs I have a very large string that I get dynamically. This string is actually an array with multiple values and variables. I would like to take all the values contained in the videoID...
asked by 08.12.2016 / 14:21
1
answer

Help with string

Make a program that finds the set of 5 consecutive digits in the sequence of only numeric characters that manages the largest product, print this 5-digit set and the result of your product. Example: 7316717653133062499998225119674426574742355...
asked by 17.10.2016 / 16:27