Difference between revisions of "LlSubStringIndex"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=181|func_sleep=0.0|func_energy=10.0|func=llSubStringIndex|return_type=integer|p1_type=string|p1_name=source|p2_type=string|p2_name=pattern|func_footnote=Finds index in source where pattern first appears (returns -1 if not found)|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=181|func_sleep=0.0|func_energy=10.0
|func=llSubStringIndex
|return_type=integer|p1_type=string|p1_name=source|p2_type=string|p2_name=pattern
|func_footnote=If '''pattern''' is not found in '''source''', -1 is returned.
|func_desc
|return_text=that is the index of '''source''' in '''pattern'''.
|spec
|caveats=*Only performs a literal match.
|constants
|examples
|helpers
|also_functions
|also_tests
|also_events
|also_articles
|notes
|cat1=String
|cat2
|cat3
|cat4
}}

Revision as of 21:00, 20 February 2007