Posts by Rodrigo Brito • 96 points
4 posts
-
2
votes3
answers972
viewsA: Operation of the switch case
The switch case is recommended when you have set states and just want to check if a given "house" variable has some values. If you need to do some manipulation, you can do it before entering the…
-
4
votes4
answers3293
viewsA: Separate String Number Letters
Simple alternative using replaceAll and regex String input = "A1B2C3D2Z9"; String letters = input.replaceAll("[^a-zA-Z]+", ""); String numbers = input.replaceAll("[^0-9]+", ""); //Para transformar…
-
0
votes2
answers67
viewsA: Wordpress reads logo only on localhost
Change the folder reference to get_template_directory_uri() Will stay like this: <img id="logo_topo" class="img-responsive" src="<?php echo get_template_directory_uri();…
wordpressanswered Rodrigo Brito 96 -
2
votes2
answers102
viewsA: How to set data correctly in Lisview?
Some things you will have to change. At first it is not cool to instantiate objects without storing them like this: new EstadosTask(this).execute(); The Garbage Collector usually makes a lot of…