Questions tagged as 'string'

0
answers

How to extract words from a delimited text string with "\\"?

I need to do a task where I should store words in an AVL, words taken from the following text: A \ binary tree \ is a \ tree \ in which every \ node \ has a the most two children. These trees are very easy to implement in a programming langua...
asked by 04.11.2018 / 19:31
1
answer

Compare chars between Strings

I would like to know how to compare the chars of the strings to know how many chars coincide regardless of their position. I'm doing this but it's out of my hands, I do not get the length I should. /* Panel mostrará los caracteres de "...
asked by 11.06.2018 / 23:01
2
answers

How to make a two-dimensional arrangement of String in C #?

I have a small problem, I hope and you can support me; The problem is that I want to make a 2-dimensional arrangement to make a table, something like this: string[][] dat = new string[][] {...
asked by 30.10.2018 / 21:49
0
answers

Sorting of names and numbers lists c #

I have the following code. Where the grades of 5 students are requested, both of course A, as of B. And the highest average is shown. My query is as follows: How do I also ask for the ordering form, either by name or by note? Code: usi...
asked by 25.10.2018 / 12:02
0
answers

Bring "zeros" from the DB of a String sql-vba field

I searched through all the sites and could not find a solution. I have a project in VBA that brings data from SQL sql. The field I need to bring is a varchar type, so the variable in my project is of the string type. If I execute the query in...
asked by 25.10.2018 / 17:21
1
answer

How to call a function with an argument to another function in java

I have the following function: String[] TXbuffer = new String[]{"H","o","l","a"}; public void writeAsync(String bufferx) { if ( mSerialPort != null) { try { mSerialPort.write(bufferx.getBytes(), SERIAL_TIMEOUT);...
asked by 24.10.2018 / 17:31
0
answers

How to code and decode strings with JS saving number of letters, without base64?

because I have the need to encode or decode string saving letter sizes. For example, if I have   "Este_es_un_string" and I would like to code it to give a result for example sT1M-0AA4eD . I was thinking of something like deleting...
asked by 23.10.2018 / 21:40
1
answer

save in variables int, String and boolean the results obtained by the ResultSet

I have a Object [][] where I temporarily store three values that I get from Base de Datos ,% int ,% String and% boolean , how do I pass them from: result.next();{ datosObt[0][0] = result.getString( "cedula"...
asked by 21.10.2018 / 06:08
1
answer

String with some characters in asterisks

I need to enter a line of text of the style: [email protected] And to return: p**********[email protected] public static void main(String[] args) { Scanner in = new Scanner(System.in); String email; int longitud = Integ...
asked by 09.10.2018 / 19:19
0
answers

System.FormatException ZModem Protocol

Hi, I'm working with the C # programming language and with a communication protocol called Zmodem. I downloaded the .dll file to implement functions that allow communication, but when I try to make my code an exception is thrown and I do not kno...
asked by 02.10.2018 / 16:43