Search:

Type: Posts; User: amnez1ya

Search: Search took 0.41 seconds.

  1. Replies
    4
    Views
    625

    [SOLVED] Re: Compare strings

    Thanks for the thought, I'll take a look at it
  2. Replies
    4
    Views
    625

    [SOLVED] Re: Compare strings

    I didn't quite understand your question...
    I can't figure out how to change this code so that it returns 1 and 0.
  3. Replies
    4
    Views
    625

    [SOLVED] Compare strings

    public class CompareString {
    public static void main(String[] args) {


    StringBuilder s1 = new StringBuilder("axx#bb#c");
    StringBuilder s2 = new StringBuilder("axbd#c#c");
    ...
Results 1 to 3 of 3