Questions tagged [character-replacement]
72 questions
0
votes
1 answer
Grid in Python Tkinter is Resizing Without Reason?
I am creating a To - Do List In Python, and I have to arrange 3 elements as I start. These include a Notebook in order to flip through notes and to - dos. The others are just labels with images on them. Here is the code. My question is that I'm not…

Aditya S
- 33
- 1
- 9
0
votes
5 answers
Character replacement in string
I do need a working ASP.NET C# code to replace characters in a string.
My following code works fine but in case of input "a" it gives me an output as "678d", but in case of input "c" the output is correct as it is i.e. "8d"... Here it automatically…

Karthik Malla
- 5,570
- 12
- 46
- 89
0
votes
1 answer
In Prolog, how can I create a list of lists when I am using a variable bound to several values?
Issue
I am trying to move all new lists that I create into one super list of lists. Instead the output is formatted as a bunch of individually changed lists.
The problem likely stems from the fact I use between to assign Iterations and Size, but I…

TonySax
- 23
- 7
0
votes
1 answer
Python3: change one character in a list of characters
I want to read a string from stdin and append this string to a list. Then I want to change one character at a time and append the new strings to the same list.
pat=sys.argv[1]
dummy1=list(str(pat))
myList=[]
list.append(pat)
c=0
for letter in…

Shushiro
- 577
- 1
- 9
- 32
0
votes
2 answers
How to remove middle character in a string in java?
I am trying to print the string without its middle character, but I am not getting the required output.
public class StringIndexEliminator {
public static void main(String[] args) {
String str = "CARS";
int l = str.length();
…

Manchukonda Manoj
- 17
- 1
- 7
0
votes
0 answers
Replace series of characters with another series, respectively
I wish to replace a series of characters such {a,b,...,x} with another series such {α,β,...,ω}, respectively and character-by-character (means a with α, b with β, ... ,x with ω), by use of Java.
So I used this code and it works correctly:
destSting…

Mir-Ismaili
- 13,974
- 8
- 82
- 100
0
votes
1 answer
Letter replacement
I want to make letters like 'å ä ö' visible. I need to replace these letters with ascii code, I guess.
I have tried jquery and javascript, but it did not work. Look at the following code please: