User Tag List

Results 1 to 6 of 6

Thread: Counting the letters in a paragraph

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Counting the letters in a paragraph

    Right... As the subject says, does anyone know how to get the numerical value of the amount of letters used in a paragraph (of a string)?
    I hardly ever use strings or texts so i'm at a complete loss.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Counting the letters in a paragraph

    Len("Hello") is 5, if that's what you mean.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counting the letters in a paragraph

    The Len() expression gets the number of characters in a given string. This will include spaces and other characters besides letters, though.

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counting the letters in a paragraph

    Thanks for the quick replies!
    I can't seem to apply this to the current paragraph in display, for some reason.
    My bet is on "Text Of A Paragraph" but i can't apply this to any values without getting an error. Len or no Len :'(

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Counting the letters in a paragraph

    Len(string$("My string object"))

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counting the letters in a paragraph

    Ahhh, i'm such a newbie..:blush:
    Thank you so much, with this i'll be able to do exactly what i wanted!

Similar Threads

  1. How to detect end of line / new paragraph...
    By RayRayTea in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th October 2011, 06:11 PM
  2. Ending a frame at the end of a paragraph
    By Heclegar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th January 2011, 09:38 PM
  3. Paragraph in string
    By pnekdo in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 21st March 2010, 09:54 AM
  4. How to display paragraph?
    By Alpha in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th April 2009, 07:12 PM
  5. paragraph_error_stopped at 2 paragraph!
    By 4444 in forum File Archive
    Replies: 3
    Last Post: 1st November 2006, 08:29 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
  •