Jump to content
Sign in to follow this  
Julian L

parse_string ( string ; pos ; delimiter )

Recommended Posts

Name & Parameters: [color:red][big] parse_string ( string ; pos ; delimiter ) [/big]

Description: This function will return a section of a string determined by the parameters.

string = The string to be read from

pos = The section to read

delimiter = The section definer

For the delimiter, it is recommended to use one character long delimiters, for FM returns unconsistent values. This isn't saying it won't work, just don't count on it.

Sample Input:

parse_string ( "I like to have fun|This is useful|good for script arguments", 3, "|" )


good for script arguments

Recursive: no


GetValue( Substitute ( string ; delimiter ; "¶" ) ; pos ) 

Required Functions:

Author(s):) Julian L

Date: 11/20/07



FM Forums does not endorse or warrantee these files are fit for any particular purpose. Do not post or distribute files without written approval from the copyright owner. All files are deemed public domain unless otherwise indictated. Please backup every file that you intend to modify.

Edited by Guest

Share this post

Link to post
Share on other sites

You can't use CF's on "plain" versions, however is this one not recursive one so you can just define it as an ordinary calc'field via copy and paste!


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.