Is it possible using sed to replace the first occurrence of a character or substring in line of file only if it is the first 2 characters in the line? For examp
I am new user learning python. I have query if it can be done or not. If user input a word suppose "Dance" and characters are "$" and "@", he would get a all po
In The C Programming Language book by Ritchie & Kernighan, in §1.5.2 Counting Characters, two versions of the program are given: #include <stdio.h
Am trying to reverse a string using a method in java, I can fetch all the elements of the string and print them out in order via a loop, my problem is reversing
this code is about Too Many Tabs code. URLs are considered equal if the domains are exactly the same, e.g. google.com and google.co.id are different Example inp
Currently working on a mobile game where i need to move the character with a virtual joystick ,i used a code from a tutorial i saw on the internet, the problem
I want use character for the location (like in Google Maps): . I want to ask if there is such a unicode character?
Hi I want to fast copy array of Characters to array of chars I can write a method that copies Character array into char array, by converting every Charater in a
I'm writing a program that will print the unique character in a string (entered through a scanner). I've created a method that tries to accomplish this but I ke
In our code, we found a bug from not writing the alphabet correctly. Instead of "0123456789abcdefghijklmnopqrstuvwxyz", we had "0123456789abcdefghijklmnoqprstuv
I'm writing a script in Unix where I have to check whether the first character in a string is "/" and if it is, branch. For example, I have a string: /some/dire
I get xml data and I get value from it. I need to delete symbols [ and ] Here is my code, that gives me error about undegined variable: @xml = XmlSim
Can anyone shed light on how to frame a javascript function with two parameters: string and character, and only by using the slice method, return the number of
Is there a way in HTML5 forms to add a min and max character to a textarea? It seems I can apply it to a regular input using pattern. <input pattern=".{3,}"