java - Comparing a text from a EditText with an array of string characters -


I am trying to compare text taken from the EditText box - Edittext.getText () with an array of pre string characters. ToString ()

  string [] alphabets = {"a", "b", ........ "z"}   

I want to compare each letter with the string of text with the edit characters so that I can change the position of one character with another (text taken from the edit text) I can do? Or is there any other better way to do this? Just want to know how to compare each step of the string.

edittext.getText (). ToString () with an array of string [] alphabets = {"A", "b", ........ "z"} .

  1. What is a better way to parse string for a int such that I get the text from an edit text box And I want to consider it an integer, how can I do this?

    I am asking this question because I have to implement the encryption algorithm modular arithmetic / mathematics thanks

    - string editing value = edittext.getText (). ToString (); Integer interval = integer. Parsient (editview);

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -