Questions tagged as 'string'

3
answers

Withdraw currency formatting and get only the number in PHP

I store the values of the products in the database as follows: For example: R$ 5.000,00 How do I do in PHP to make this number stay 5000? In other words, "deformat"? Do you have any function that works for any number? Something like t...
asked by 09.08.2015 / 04:39
1
answer

Take a snippet from a string

I want to get the word "[email protected]" inside this MetroMessageBox I tried this, but it did not work: String[] palavra = ex.Message.Split(new String[] { "(", ")" }, StringSplitOptions.RemoveEmptyEntries);     
asked by 10.12.2015 / 12:57
1
answer

Symmetric cryptography swift

I am new to swift, and would like to encrypt a string, using some symmetric encryption algorithm so that it is possible with the same decrypt key. I would like to know how this can be done in the Swift language.     
asked by 17.01.2016 / 16:40
0
answers

how do I solve accentuation errors when sending an Android message to an API in php

Folks, I'm having trouble sending strings with accents and strings with 2 lines or more. When I send without an accent or with only one line, it usually accepts, however, when I send with an accent, it gives the error. I've already used an AP...
asked by 27.11.2015 / 20:37
1
answer

Format string qt html charset

I have the following string: QString str="Macarr & # x & 3; the integral. (I put space between all characters of the special character if it would not be visible and would appear A with the uncle "ã") and wanted to format it so that it lo...
asked by 11.11.2015 / 00:40
1
answer

Variable declared in viewDidLoad is not found in Button - Swift 2

I have an array that generates a word by loading viewController , and saves a random position in the variable declared in viewDidLoad or before within the class. But inside the button does not find the variable to receive and use th...
asked by 11.10.2015 / 22:15
0
answers

Javascript - Filling in Textbox with numbers, strings and dates in a ticket

I'm trying to make a ticket fill automatically when selecting a row from a table. In this case, there are textboxes (or type inputs) that must be filled with some values. My role is function verBoleto(nossonumero,valor,dataemissao,datavencimen...
asked by 18.06.2015 / 17:35
0
answers

Start reading from the beginning of the string list

How do I add a string to a list (it can be in list A or B), my code comes back and starts reading the beginning of the string list , ie the first string? I have a list of 20 strings. But it is giving an error because my code adds str...
asked by 06.05.2015 / 00:42
0
answers

How to read a preformatted string?

I have a file with String in a certain format, I would like to capture some information from this string. Example: 0:13:13 - ID:( usuário ) / Name:( nome ) / IP ( 177.22.XX.X ) Memory Function Code Error ( 1 )( 267 354 24 )( 12 15 5 ) I wou...
asked by 01.06.2015 / 18:28
1
answer

Migration, removing accents from all names of a column in the database

I want to make a modification to a data string of a column in the database, remove the accents for I am doing this function in php. The problem is that none of the functions I discovered works. The strange thing about this is that if we write di...
asked by 10.02.2015 / 11:58