I have String x = "@646646&" .
I would like to get everything between @ and & and play on other String . Regardless of what is between these characters be number or not.
How do I do it?
I have an output via EXPECT access to an equipment and I get the data below:
$result1 = "
===============================================================================
Service Basic Information...
I'm getting the IMEI from the phone and I have to split it into groups of 2 characters so I convert them to hex afterwards.
This String comes with no separator, the numbers come together, for example 36529874 and I wanted to separate them int...
I made the following function in php that receives a string, and returns a new string containing only the numbers of the received string.
I just can not concatenate each number to this new string. I've tried the following:
function extraiSo...
I would like answers in C, C #, or just an algorithm, but preferably an implementation already in the C # language because that's what I'm using.
For example, suppose I have to find out if a number is read in the same way both ways - a silly...
I'm solving an exercise where I have to fill a vector of type struct , and one of the values is char , so I made a while and was using a simple assignment with "=" but was not working , so I did with strcpy but every ti...
I have the following text:
'box 1 is blue, box 10 is green, box 100 is empty'
I want to replace 'box 1' with 'package 2', so I do:
>>> texto = 'caixa 1 é azul, caixa 10 está verde, caixa 100 está vazia'
>>> print(te...
In a test code (in Java), the purpose of which was to convert a string to another string by intersecting the letters between uppercase and lowercase letters, I received the error a follow at compile time:
error: char can not be derefer...
What is the Uri class and what is its purpose and where should I use it?
Can not pass an object from it to a string variable see in the example:
String caminho = new Uri(@"c:\Windows");
Generate the following error:
Error 1...