Questions tagged as 'string'

1
answer

Error translating previously marked strings as not translateable

Hello, did anyone ever go through this? I checked some strings as Untranslatable in the Android Studio String Editor just to speed up the launch. In this update, I reopened the Android Studio Editor I took the checks and translated as usual....
asked by 21.04.2017 / 18:17
1
answer

how to convert my object into a string?

I have done a function to insert the data into the database, however as I am using classes, I have to insert an object of class into the database that will contain the data of the person in question, except that the form being passed the object...
asked by 05.04.2017 / 19:47
0
answers

Force array to have all elements in string

$values_x = array(); for ($i = 0; $i < count( $series[0]['data'] ); $i++ ) { $values_x[] = $series[0]['data'][$i][0]; } $values_y = array(); for ($i = 0; $i < count( $series[0]['data'] ); $i++ ) { $values_y[] = $series[0]['data'][$...
asked by 30.03.2017 / 14:00
1
answer

TypeError: 'str' object does not support item assignment

I made my "version" of a game I saw in a book. def hangman(a): stages = ["", "________ ", "| ", "| | ", "| 0 ", "| /|\...
asked by 14.03.2017 / 20:34
1
answer

How to change Text property of a Button within a for

I am having a question in ASP.NET, I am creating a loop of repetition inside the HTML so that 60 buttons appear, each with a different number in the Text, going from 0 to 59, and then I need to get that text and put it in a textbox. I was doing...
asked by 04.03.2017 / 20:56
2
answers

Split String Html

Personal I have an HTML with the following code: <div class="page"> ...Conteúdo1 </div> <div class="page"> ...Conteúdo2 </div> <div class="page"> ...Conteúdo3 </div> The "page" class it creates a backgr...
asked by 17.03.2017 / 14:31
2
answers

Compile string as code

How can I compile a string inside C #? Example: Console.WriteLine(\"Hello World\"); . As if it were a eval of JavaScript? I had a project to load a code into a text file or something else.     
asked by 10.05.2014 / 02:10
0
answers

Help in Binding C #

I have this code: private void DataGrid_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e) { var i = 0; var d = DataContext as TicketExplorerViewModel; if (d == null) return; var entityTypes = d.EntityType...
asked by 21.01.2017 / 20:03
2
answers

What is the difference between assigning and comparing string variables with function or with assignment and comparison operator?

I came across the following questions: What is the difference between the expressions strcpy (s, t) e s = t ? What is the difference between the expressions if (strcmp (s, t) < 0) e if (s < t)  ? I tried to compile...
asked by 11.08.2015 / 00:44
3
answers

Error comparing java strings

I have the following situation. I get a string that is in the ApplicationStorage location in a javascript variable. <script> var sendForm = localStorage.getItem('f'); </script> This same string I pass to a java variable t...
asked by 21.12.2016 / 19:10