I have a code chunk which is quite meaningless for me. Is there someone can explain it to me? Thanks int strLength(char *str) { char *p = str; // Go until the e
I have write this code. It does not show any error but string is not reversed.please let me know where i have made the mistake? I'm using codeblock to write cod
I am trying to get some data from the user and send it to another function in gcc. The code is something like this. printf("Enter your Name: "); if (!(fgets(Na
i got this task to make, but i am completely lost. I don't know how to make this... Could you please give me some ideas? I started making it and only thing i ma
How can I force conversion to type System.Version in PowerShell, or more likely, better understand why I cannot arbitrarily assign number strings type System.Ve
I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals()
I tried to get the user input and then compare it to somthing and i got a problem :( this is my code: use std::io::stdin; fn main() { let
I am trying to write a program that would ask the user how many security codes he wants to generate, then it would output as many codes as he
The C++11 Standard (ISO/IEC 14882:2011) says in § C.1.1: char* p = "abc"; // valid in C, invalid in C++ For the C++ it's OK as a pointer to a String Lit
I have a Pandas DataFrame(data) with a ['Duration'] column as 'object' type that has time durations in format: 'H:%M:%S' such as '1:47:54' with 7 characters, bu
For context, I'm trying to create a mapping from string code points to emojis and need to know if the system supports the emoji: ("1F9AE") -> "🦮" ("1
I need to match the numbers in the following strings. It is possible they may be part of longer strings with other numbers in them, so I specifically want to ma
Question: Complete the function holidays that accepts an array of strings and iterates through the array. If the array contains the string "October", return "Ha
I would like to transform input.js to output.js using string manipulation in python here is input.js let k=document.createElement("div"); k.innerHTML='<style
The question is pretty much in the title. The code void modify_str(char* str){ if(strlen(str) > 5) { str[5] = 'x'; } } Will invoke undef
I am trying to get email addresses from a worksheet(Sheet1) into the .To line for an outlook email based on the specific string value in the main worksheet. I h
I've got a call that gives a result in the body that looks like this: body=[{"id":"be6ea215-1a69-44bb-8269-4f80867c69d7","name":"BlaBla1","externalLinks":[]},{"
If there is a difference between two constructs I would like to know std::string name = std::string("Eugene"); and std::string name = "Eugene";
I want to truncate in Laravel text from database with HTML Tag, for example: <p>Hi. I want to say about my story. </p> I found a method: {{ Str::li
I'm trying to remove unnecessary values in the strings in my dataframe so I can make them integers and do some math logic on them. The commas, and upward arrows