I'm trying to remove punctuation symbols and other symbols (characters like copyright, for example) from a string.
I want to leave the accented characters, the hyphen, the apostrophe ('), the white space, in addition to the letters and number...
I can not complete this list, as it is:
foreach (var item in text)
{
string[] linha = item.Split('\n');
foreach (var i in linha)
{
string nova_string = i.Substring...
I'm having problems checking a string using EMPTY (), it's the following .. If I play space on it, it "" is no longer empty .. and ends up inserting in the database the empty value, how can I solve this, what function ?
I need to loop through n by putting an integer at the end of a string.
Ex: string "E0" and an integer from 0 to n , something like this:
E00, E02, E03, ..., E0n
char ent[3] = {'E','0'};
char a[1];
int n=5;//exempl...
Read the comments in the code
#include <stdio.h>
int main(void) {
char *nomes[2][2]; //Eu não entendo porque se eu tirar esse ponteiro * o codigo dá erro
nomes[0][0]="Misael";
nomes[0][1]="Zaes";
nomes[1][0]="Joao";
nomes[...
I'm doing a program that needs you to find half a string vector, but that half can not cut any words, so that half would have to be the next space found after half. Soon after finding this half the program must divide the vector into 2 string ve...
I am learning character array and wanted to do a simple program in which I create a 200x100 character array, put a string at position 0 and print it out.
This is part of a larger program I'm doing, but I need to understand how to insert a...
Ifthe"@return string" within a PHP file's encoding is deleted, will the coding undergo significant changes? Can I delete all comments including "@return string"?
And finally, why did it look a different color?
Does anyone know of any method in PHP that equals the value of a variable with string ?
I need to refactor the following code:
public function hasPlan() : bool
{
return $this->reference === 'unico' || $this->reference === 'simult...