Difference between revisions of "LlInsertString/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{multi-lang}}{{LSL_Function/negative_index/ja|false|position}}{{LSL_Function/ja|func_id=96|func_sleep=0.0|func_energy=10.0
{{LSL_Function/negative_index/ja|false|position}}{{LSL_Function/ja|func_id=96|func_sleep=0.0|func_energy=10.0
|func=llInsertString|return_type=string
|func=llInsertString|return_type=string
|p1_type=string|p1_name=dst|p1_desc=挿入する先
|p1_type=string|p1_name=dst|p1_desc=挿入する先
Line 21: Line 21:
|notes
|notes
|helpers
|helpers
|cat1=String/ja
|cat1=String
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 23:41, 18 April 2008

要約

関数: string llInsertString( string dst, integer pos, string src );

srcposの位置から挿入されたdstを string で返します。

• string dst 挿入する先
• integer pos 挿入する位置の指標で、最初は0です
• string src 元のstringに挿入されます

position には 負のインデックス を使用できません。

警告

  • position が正常なインデックス範囲を外れていても、スクリプトはエラー表示を出さずに処理を続けます。
All Issues ~ Search JIRA for related Bugs

サンプル

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

関連項目

関数

•  llDeleteSubString
•  llGetSubString

記事

•  Examples: str_replace 他のstring内に対象のstringがある場合、置換します
•  Examples: SplitLine stringの幾つかの位置に'改行'エスケープコードを挿入します

特記事項

Search JIRA for related Issues

Signature

function string llInsertString( string dst, integer pos, string src );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。