Questions tagged as 'string'

0
answers

Python: Global name 'info' is not defined

Good morning, I really do not have so much experience programming in Python (I'm a student, really) what happens is the following: I have an assignment in which I must put into practice the use of linked lists, creating nodes. And then that,...
asked by 01.10.2018 / 07:26
1
answer

Enter a character in a String in the position i

Hi, I have a project but I'm stuck in a couple of lines. I'm interested, as the title says, to enter a character in a position of some new chain. The program what it does is that it is printing characters but I want them to be saved in a chai...
asked by 26.09.2018 / 03:57
0
answers

Help in Java, I have problems printing an Array String []

Hello, I want to print a list of arrayList that has a document name, its address, its value and an array String [] of those who voted for that document but prints me with certain objects and not others. This is my main package PackPiezas; imp...
asked by 13.09.2018 / 22:32
2
answers

JAVA. Doubt about looking for a String in a two-dimensional Array

I am looking for the operator to enter two related data, then two more and so on continuously. When you need to search for a data, you can enter any of the two related data and the other data will be displayed. Ex: First and last name, if I writ...
asked by 14.09.2018 / 02:52
1
answer

Convert parameter of a function automatically to string

I would like to create a function that has as parameters the name of an array and any string. The goal is that just by entering the names of both things, the function logue the index of the item, if it exists within the array (no need to use qu...
asked by 15.09.2018 / 15:32
1
answer

Convert an ASCII Array to String Swift 4

I'm doing an app in swift 4 of encrypted and decrypted, the question starts here. when DESENCRIPT returns an Array with the values in ASCII Array    [109, 105, 32, 109, 101, 110, 115, 97, 106, 101, 32, 111, 99, 117, 108, 116, 111] // Encryp...
asked by 21.08.2018 / 21:24
0
answers

Problems with scheme

Hi, I have to do a program working with polynomials ('3x ^ 3 + x ^ 4, etc), the info comes as a symbol, I have to pass it to string and then to list. I think I already passed it to string by putting symbol-> string, but when I put string- > l...
asked by 31.08.2018 / 02:48
12
answers

How to correctly compare Strings (and objects) in Java?

I am creating a mini game in which the user tries to guess a name. But when I want to compare two text strings to see if they are equal it does not seem to work. final String miNombre = "Jordi"; Scanner input = new Scanner(System.in); System.o...
asked by 02.12.2015 / 13:35
1
answer

store String in a JavaScript data string

good afternoon I would like to know if you could help me the problem esque I create an array and I empty data from a for but the array of strings does not store them being the integer if having the problem in the SETTLEMENT NOTE pa...
asked by 03.08.2018 / 21:30
1
answer

How can I do VALIDATIONS of 3 chains of STRINGS in Java Netbeans? [closed]

I have two classes Instrument (contains instrument names) and Musician (contains Instrument, musical name and position) The validation that I have to relate is: If the name of the musician does not correspond to his instrument and his position...
asked by 29.07.2018 / 04:06