Eliminate empty elements from a list with a specific pattern The 2019 Stack Overflow Developer Survey Results Are InList operation on specific elementsSelect elements from list with given headSelecting elements from a list with nullsReplace empty list elements with patternReplacing Non-Constant Elements from List with Patternselecting elements from a list with two numbersRemoving elements of a specific length from a listEliminate types of elements from the listListPlot3D with empty matrix elementsDelete a large pattern from one list

Why can Shazam fly?

Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?

Origin of "cooter" meaning "vagina"

What did it mean to "align" a radio?

Does a dangling wire really electrocute me if I'm standing in water?

How to deal with fear of taking dependencies

Geography at the pixel level

Earliest use of the term "Galois extension"?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

How to answer pointed "are you quitting" questioning when I don't want them to suspect

How to save as into a customized destination on macOS?

Return to UK after being refused entry years previously

Loose spokes after only a few rides

"as much details as you can remember"

Is an up-to-date browser secure on an out-of-date OS?

Did 3000BC Egyptians use meteoric iron weapons?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Can we generate random numbers using irrational numbers like π and e?

Falsification in Math vs Science

Shouldn't "much" here be used instead of "more"?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

How to notate time signature switching consistently every measure

How technical should a Scrum Master be to effectively remove impediments?



Eliminate empty elements from a list with a specific pattern



The 2019 Stack Overflow Developer Survey Results Are InList operation on specific elementsSelect elements from list with given headSelecting elements from a list with nullsReplace empty list elements with patternReplacing Non-Constant Elements from List with Patternselecting elements from a list with two numbersRemoving elements of a specific length from a listEliminate types of elements from the listListPlot3D with empty matrix elementsDelete a large pattern from one list










3












$begingroup$


I am really new in this patterns part of Mathematica. Basically what I need to do is eliminate null elements from a list but that has a specific name before the empty element. For example, my list is:



list="a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2"


and I need to obtain



list="a12-b11-1", "d33-c22-2"


The list was created using



list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> 
ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]],
i, 1, 4, j, 1, 4], 1]


and for some values it writtes because there is not a value equal to $0.5$. Until now I have been able to do it term by term as



list//."a11-b11-"-> Sequence[]


but the real list contains a lot of elements and could be almost impossible to do it that way to solve the problem. I think my main problem is that I am not sure how to specify the pattern search (something like " *-name " in gnu/linux). Is there a wise way to do this?. Thanks in advance.










share|improve this question











$endgroup$











  • $begingroup$
    Have a look at DeleteCases and StringMatchQ or StringContainsQ.
    $endgroup$
    – b.gatessucks
    2 days ago










  • $begingroup$
    I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
    $endgroup$
    – Roman
    2 days ago











  • $begingroup$
    @b.gatessucks Thank you, I will look those option in Mathematica.
    $endgroup$
    – mors
    2 days ago










  • $begingroup$
    @Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
    $endgroup$
    – mors
    2 days ago















3












$begingroup$


I am really new in this patterns part of Mathematica. Basically what I need to do is eliminate null elements from a list but that has a specific name before the empty element. For example, my list is:



list="a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2"


and I need to obtain



list="a12-b11-1", "d33-c22-2"


The list was created using



list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> 
ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]],
i, 1, 4, j, 1, 4], 1]


and for some values it writtes because there is not a value equal to $0.5$. Until now I have been able to do it term by term as



list//."a11-b11-"-> Sequence[]


but the real list contains a lot of elements and could be almost impossible to do it that way to solve the problem. I think my main problem is that I am not sure how to specify the pattern search (something like " *-name " in gnu/linux). Is there a wise way to do this?. Thanks in advance.










share|improve this question











$endgroup$











  • $begingroup$
    Have a look at DeleteCases and StringMatchQ or StringContainsQ.
    $endgroup$
    – b.gatessucks
    2 days ago










  • $begingroup$
    I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
    $endgroup$
    – Roman
    2 days ago











  • $begingroup$
    @b.gatessucks Thank you, I will look those option in Mathematica.
    $endgroup$
    – mors
    2 days ago










  • $begingroup$
    @Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
    $endgroup$
    – mors
    2 days ago













3












3








3


1



$begingroup$


I am really new in this patterns part of Mathematica. Basically what I need to do is eliminate null elements from a list but that has a specific name before the empty element. For example, my list is:



list="a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2"


and I need to obtain



list="a12-b11-1", "d33-c22-2"


The list was created using



list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> 
ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]],
i, 1, 4, j, 1, 4], 1]


and for some values it writtes because there is not a value equal to $0.5$. Until now I have been able to do it term by term as



list//."a11-b11-"-> Sequence[]


but the real list contains a lot of elements and could be almost impossible to do it that way to solve the problem. I think my main problem is that I am not sure how to specify the pattern search (something like " *-name " in gnu/linux). Is there a wise way to do this?. Thanks in advance.










share|improve this question











$endgroup$




I am really new in this patterns part of Mathematica. Basically what I need to do is eliminate null elements from a list but that has a specific name before the empty element. For example, my list is:



list="a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2"


and I need to obtain



list="a12-b11-1", "d33-c22-2"


The list was created using



list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> 
ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]],
i, 1, 4, j, 1, 4], 1]


and for some values it writtes because there is not a value equal to $0.5$. Until now I have been able to do it term by term as



list//."a11-b11-"-> Sequence[]


but the real list contains a lot of elements and could be almost impossible to do it that way to solve the problem. I think my main problem is that I am not sure how to specify the pattern search (something like " *-name " in gnu/linux). Is there a wise way to do this?. Thanks in advance.







list-manipulation filtering






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Roman

4,95511130




4,95511130










asked 2 days ago









morsmors

496




496











  • $begingroup$
    Have a look at DeleteCases and StringMatchQ or StringContainsQ.
    $endgroup$
    – b.gatessucks
    2 days ago










  • $begingroup$
    I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
    $endgroup$
    – Roman
    2 days ago











  • $begingroup$
    @b.gatessucks Thank you, I will look those option in Mathematica.
    $endgroup$
    – mors
    2 days ago










  • $begingroup$
    @Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
    $endgroup$
    – mors
    2 days ago
















  • $begingroup$
    Have a look at DeleteCases and StringMatchQ or StringContainsQ.
    $endgroup$
    – b.gatessucks
    2 days ago










  • $begingroup$
    I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
    $endgroup$
    – Roman
    2 days ago











  • $begingroup$
    @b.gatessucks Thank you, I will look those option in Mathematica.
    $endgroup$
    – mors
    2 days ago










  • $begingroup$
    @Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
    $endgroup$
    – mors
    2 days ago















$begingroup$
Have a look at DeleteCases and StringMatchQ or StringContainsQ.
$endgroup$
– b.gatessucks
2 days ago




$begingroup$
Have a look at DeleteCases and StringMatchQ or StringContainsQ.
$endgroup$
– b.gatessucks
2 days ago












$begingroup$
I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
$endgroup$
– Roman
2 days ago





$begingroup$
I think it would be more efficient to first filter out the unwanted cases in the int function, and then construct strings only from the remaining ones.
$endgroup$
– Roman
2 days ago













$begingroup$
@b.gatessucks Thank you, I will look those option in Mathematica.
$endgroup$
– mors
2 days ago




$begingroup$
@b.gatessucks Thank you, I will look those option in Mathematica.
$endgroup$
– mors
2 days ago












$begingroup$
@Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
$endgroup$
– mors
2 days ago




$begingroup$
@Roman You are right, but I am new ih this cases stuf in Mathematica and I did no know how to do it when I created the list.
$endgroup$
– mors
2 days ago










2 Answers
2






active

oldest

votes


















7












$begingroup$

If the list elements are strings, as it appears after your comment, you can use Select with a string pattern:



list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
Select[list, Not@*StringMatchQ[__ ~~ ""]]



"a12-b11-1", "d33-c22-2"




You could also Select before making the strings:



L = DeleteCases[
Flatten[
Table[
namea[[i]], nameb[[j]], Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1],
i, 4, j, 4],
1],
_, _, ];


and then make these into strings:



StringRiffle[ToString /@ #, "-"] & /@ L


I can't check this because you didn't supply functioning code.






share|improve this answer











$endgroup$












  • $begingroup$
    Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
    $endgroup$
    – mors
    2 days ago



















1












$begingroup$

In 10.1, two functions were added to handle a pair of very common cases: StringStartsQ and StringEndsQ which return True if the string matches a pattern at the beginning or end, respectively. So, while Roman's answer gives you the full general form, most of the pattern can be eliminated by using



list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
Select[list, Not@*StringEndsQ[""]]


instead.






share|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "387"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194815%2feliminate-empty-elements-from-a-list-with-a-specific-pattern%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7












    $begingroup$

    If the list elements are strings, as it appears after your comment, you can use Select with a string pattern:



    list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
    Select[list, Not@*StringMatchQ[__ ~~ ""]]



    "a12-b11-1", "d33-c22-2"




    You could also Select before making the strings:



    L = DeleteCases[
    Flatten[
    Table[
    namea[[i]], nameb[[j]], Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1],
    i, 4, j, 4],
    1],
    _, _, ];


    and then make these into strings:



    StringRiffle[ToString /@ #, "-"] & /@ L


    I can't check this because you didn't supply functioning code.






    share|improve this answer











    $endgroup$












    • $begingroup$
      Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
      $endgroup$
      – mors
      2 days ago
















    7












    $begingroup$

    If the list elements are strings, as it appears after your comment, you can use Select with a string pattern:



    list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
    Select[list, Not@*StringMatchQ[__ ~~ ""]]



    "a12-b11-1", "d33-c22-2"




    You could also Select before making the strings:



    L = DeleteCases[
    Flatten[
    Table[
    namea[[i]], nameb[[j]], Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1],
    i, 4, j, 4],
    1],
    _, _, ];


    and then make these into strings:



    StringRiffle[ToString /@ #, "-"] & /@ L


    I can't check this because you didn't supply functioning code.






    share|improve this answer











    $endgroup$












    • $begingroup$
      Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
      $endgroup$
      – mors
      2 days ago














    7












    7








    7





    $begingroup$

    If the list elements are strings, as it appears after your comment, you can use Select with a string pattern:



    list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
    Select[list, Not@*StringMatchQ[__ ~~ ""]]



    "a12-b11-1", "d33-c22-2"




    You could also Select before making the strings:



    L = DeleteCases[
    Flatten[
    Table[
    namea[[i]], nameb[[j]], Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1],
    i, 4, j, 4],
    1],
    _, _, ];


    and then make these into strings:



    StringRiffle[ToString /@ #, "-"] & /@ L


    I can't check this because you didn't supply functioning code.






    share|improve this answer











    $endgroup$



    If the list elements are strings, as it appears after your comment, you can use Select with a string pattern:



    list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
    Select[list, Not@*StringMatchQ[__ ~~ ""]]



    "a12-b11-1", "d33-c22-2"




    You could also Select before making the strings:



    L = DeleteCases[
    Flatten[
    Table[
    namea[[i]], nameb[[j]], Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1],
    i, 4, j, 4],
    1],
    _, _, ];


    and then make these into strings:



    StringRiffle[ToString /@ #, "-"] & /@ L


    I can't check this because you didn't supply functioning code.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 days ago

























    answered 2 days ago









    RomanRoman

    4,95511130




    4,95511130











    • $begingroup$
      Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
      $endgroup$
      – mors
      2 days ago

















    • $begingroup$
      Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
      $endgroup$
      – mors
      2 days ago
















    $begingroup$
    Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
    $endgroup$
    – mors
    2 days ago





    $begingroup$
    Thank you, I forgot to specify the way the list is created. I create the list as 'list = Flatten[Table[ ToString[namea[[i]] <> "-" <> nameb[[j]] <> "-" <> ToString[ Select[int[i, j, 0.5], Abs[#] == 0.5 &, 1] ]], i, 1, 4, j, 1, 4], 1] '
    $endgroup$
    – mors
    2 days ago












    1












    $begingroup$

    In 10.1, two functions were added to handle a pair of very common cases: StringStartsQ and StringEndsQ which return True if the string matches a pattern at the beginning or end, respectively. So, while Roman's answer gives you the full general form, most of the pattern can be eliminated by using



    list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
    Select[list, Not@*StringEndsQ[""]]


    instead.






    share|improve this answer









    $endgroup$

















      1












      $begingroup$

      In 10.1, two functions were added to handle a pair of very common cases: StringStartsQ and StringEndsQ which return True if the string matches a pattern at the beginning or end, respectively. So, while Roman's answer gives you the full general form, most of the pattern can be eliminated by using



      list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
      Select[list, Not@*StringEndsQ[""]]


      instead.






      share|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        In 10.1, two functions were added to handle a pair of very common cases: StringStartsQ and StringEndsQ which return True if the string matches a pattern at the beginning or end, respectively. So, while Roman's answer gives you the full general form, most of the pattern can be eliminated by using



        list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
        Select[list, Not@*StringEndsQ[""]]


        instead.






        share|improve this answer









        $endgroup$



        In 10.1, two functions were added to handle a pair of very common cases: StringStartsQ and StringEndsQ which return True if the string matches a pattern at the beginning or end, respectively. So, while Roman's answer gives you the full general form, most of the pattern can be eliminated by using



        list = "a11-b11-", "a12-b11-1", "c11-d22-", "d33-c22-2";
        Select[list, Not@*StringEndsQ[""]]


        instead.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        rcollyerrcollyer

        28.6k674166




        28.6k674166



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematica Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194815%2feliminate-empty-elements-from-a-list-with-a-specific-pattern%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            -filtering, list-manipulation

            Popular posts from this blog

            Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant