Questions tagged as 'string'

1
answer

Query with sed bash script string

I have the following example: cat test.txt Showing the following:    juan maria juan maria juan maria maria juan maria juan maria juan   roberto roberto roberto roberto roberto roberto To separate 2 from 2 each chain I do it using...
asked by 10.11.2018 / 13:21
1
answer

My string gives line breaks without I wanting it

TINTA=[''' _ |---| |---| |---| |---| |---| |---| \ / ' '''] TINTA2=[''' _ | | |---| |---| |---| |---| |---| \ / ' '''] TINTA3=[''' _ | | | | |---| |---| |---| |---| \ / ' '''] TINTA4=[''' _ | | | | | | |---| |-...
asked by 16.11.2018 / 19:16
5
answers

Extract part of a text that is in the middle of a string

I need to extract a text that is in the middle of a string using, but I do not know how. The text is as follows: string cadena =jy193UAhUHJsAKHV4rD904PBAWCC0wAA&url=http%3A%2F%2Fwww.icali.es%2FPORTAL_ICALI%2FprintPortal.do%3FurlPagina%3...
asked by 27.06.2017 / 11:40
1
answer

Array [] print

I have a problem printing a String [] that is inside an ArrayList of objects when printing some prints as null. Pasaporte - Jose Gregorio Silva Guedez.PDF C:\Users\Javier Marín\Documents 5 Votantes: [ null, null, null, null, null, null, null,...
asked by 21.09.2018 / 20:15
1
answer

Save the text of a text box in a string

I am doing a program in QT in order to create a form and be able to save the information in a document. I have created my View for the form (where the user will enter the name), but now I do not know how to save what is written there in a String...
asked by 04.10.2018 / 14:56
1
answer

Doubt about Kotlin language

Why and for what the function main is written in the following way: fun main(args: Array<String>) { println("Hello, World!") }     
asked by 27.10.2018 / 02:53
1
answer

Concatenate 2 repeaters of strings

'I need to make an array that makes a staircase with numerals, before the numeral there has to be a space, in the first "step" there are the same number of spaces as steps - 1, in the second - 2, and so, What I need is to concatenate the two rep...
asked by 17.02.2018 / 17:50
1
answer

Show Error Message if a String contains a numeric character

Well that's my question, I'm doing a form in java swing and when filling in the fields of the JTextField I want to launch an error window in case it contains some numeric character. I have been testing many things but I have not reached anything...
asked by 11.02.2018 / 16:48
1
answer

How can I pass a javascript object to string?

I have an object in Javascript with different attributes, some of them are arrays . I would like to know if there is any function of any kind style. toString() to return a text string with all the data. Example: let p...
asked by 27.01.2018 / 10:18
1
answer

Search for "pattern" in string C #

Is there a method to find a pattern with specific characteristics within a string? I need to look at a string and if any of the parts contains a (xxxxxxx) delete it, the problem is that what is inside the parentheses can be variable but w...
asked by 16.11.2017 / 11:12