Lasso Soft Inc. > Home

[ String_FindPosition ]

Method

[String_FindPosition] takes two parameters: a string value and a -Find keyword/value parameter. Returns the location of the -Find parameter in the string parameter. The test is not case sensitive.

  • Syntax
string_findposition('string value', -find='pattern')
Examples
  • Beginner

To find the location of a substring within a string:

Use the [String_FindPosition] tag. The following example finds the position of the word "hair" within the string "moosehair".

Code

string_findposition('moosehair', -find='hair')

Result

6

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft