Search:

Type: Posts; User: shenaz

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: replacing few keywords with corresponding operators

    ok i will try.but i don't know to use map,if u could post some links to learn about it,it would be helpful.
  2. [SOLVED] Re: replacing few keywords with corresponding operators

    class keys{
    public static void main(String[] args)
    {
    String str="if(a greater than b)";
    if(str.contains("greater than"))
    str=str.replace("greater than",">");
    if(str.contains("lesser than"))...
  3. [SOLVED] Re: replacing few keywords with corresponding operators

    am trying to read a string and check if it contains the keywords am looking for.If it contains those keywords,i should replace it with operator.
    now to check if a string contains the keyword if...
  4. [SOLVED] Re: replacing few keywords with corresponding operators

    I know how to use replace() method.my problem is when i read a string,how should i check if it contains the keywords i mentioned in post#1,and then replace with its corresponding operator.
  5. [SOLVED] Re: replacing few keywords with corresponding operators

    its about replacing only.but am not understanding how to do it.
  6. [SOLVED] Re: replacing few keywords with corresponding operators

    Ya i tried.I just want to know what concept i should use for the problem i stated.
  7. [SOLVED] replacing few keywords with corresponding operators

    Suppose i have a string as fallows
    if(a greater than b)
    and i want to replace "greater than" with ">",how should i replace?
    i want to replace the following keywords with corresponding operators...
Results 1 to 7 of 8