LlInsertString

From Second Life Wiki
Revision as of 04:13, 9 August 2007 by Anylyn Hax (Talk | contribs)

Jump to: navigation, search

Summary

Function: string llInsertString( string dst, integer position, string src );

Returns a string dst with src inserted starting at position.

• string dst
• integer position
• string src

position does not support negative indexes.

Caveats

  • If position is out of bounds the script continues to execute without an error message.
All Issues ~ Search JIRA for related Bugs

Examples

llInsertString("input", 2, "put out")// returns "input output"

See Also

Functions

•  llDeleteSubString
•  llGetSubString
•  str_replace()

Deep Notes

Search JIRA for related Issues

Signature

function string llInsertString( string dst, integer position, string src );