User Tag List

Results 1 to 8 of 8

Thread: Findtext() Procedure? Which extension would I use?

  1. #1
    No Products Registered

    Join Date
    Dec 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Findtext() Procedure? Which extension would I use?

    If |Hello||Bye| contains |Hello|, then get 1 point.

    Which extension would I use? Searched the contents, didn't find anything

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    String Parser 2
    http://ext.neatwares.ath.cx/ext/String_Parser_2

  3. #3
    No Products Registered

    Join Date
    Dec 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    The only condition i can find with string parser 2 is 'Is URL Safe'?

    Ack. Looks like things are going to get ugly.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    I think it's the expressions that you must use not the conditions.

  5. #5
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    Just use the built in find string expression, if it returns -1 then the string does not contain the target string.

    The syntax is (<string>,<string to look for>,<first character number(use 0))

    Retreive the expression from the 'special object'(a built in object).

  6. #6
    No Products Registered

    Join Date
    Dec 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    Quote Originally Posted by SEELE
    Just use the built in find string expression, if it returns -1 then the string does not contain the target string.

    The syntax is (<string>,<string to look for>,<first character number(use 0))

    Retreive the expression from the 'special object'(a built in object).
    Ah hah! Thanks a lot man. You are the best. The procedure returns the character right before the string begins, right?

    So if I said

    var/Number=Find("Hello","e",0)

    it would return 1, right before the string begins, correct? Hmmm...this brings some big possibilities! Thanks again man

  7. #7
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    There is no "Find String" Condition in the special conditions group.

  8. #8
    No Products Registered

    Join Date
    Dec 2008
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Findtext() Procedure? Which extension would I use?

    Quote Originally Posted by Dynamite
    There is no "Find String" Condition in the special conditions group.
    The condition is ''Compare two general values''

    If(String("Hello") contains "ello") >= 0 (if it cant find it, -1 is returned) then end the application

    works perfectly. The number returned is the character before the string, it even supports backwards searches

Similar Threads

  1. MMF2 Extension Request : OE-Cake Fluid extension
    By pyromane in forum Extension Development
    Replies: 5
    Last Post: 1st July 2013, 03:51 AM
  2. Multilanguage Procedure
    By virtualrom in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 7th September 2011, 11:55 AM
  3. Unprotect a TGF 1 .gam : Legal procedure ?
    By jetleejoe in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 20th October 2006, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •