WordPress.org

Ideas

Check string contains.

  1. Bunty
    Member

    I want to introduce a function by which,

    we can check anything contains from a string.

    like if string contains a word or string contains a symbol or string contains anything you want to check.

    Posted: 1 month ago #
  2. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    PHP already has that.

    http://php.net/manual/en/function.strpos.php

    Posted: 1 month ago #
  3. Bunty
    Member

    Thanks for the response @Ipstenu

    But there are lots of things that php has and WP introduce in a better way i.e wp_mail function.

    There are many other functions like that.

    So I was interested in my idea to do so.

    :-)

    Posted: 1 month ago #
  4. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    If there are improvements, I agree they should be made. In the case of strpos() however I don't see how :) Is there an aspect of that function missing that you've found?

    Posted: 1 month ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    Sorry, not right now