Difference between revisions of "LlInsertString/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{multi-lang}}{{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 |p1_type=string|p1_name=...)
 
m
Line 3: Line 3:
|p1_type=string|p1_name=dst|p1_desc=挿入する先
|p1_type=string|p1_name=dst|p1_desc=挿入する先
|p2_type=integer|p2_name=pos|p2_desc=挿入する位置の指標で、最初は0です
|p2_type=integer|p2_name=pos|p2_desc=挿入する位置の指標で、最初は0です
|p3_type=string|p3_name=src|p3_desc=元のstringに挿入されますstringsource string to be inserted
|p3_type=string|p3_name=src|p3_desc=元のstringに挿入されます
|func_footnote
|func_footnote
|func_desc
|func_desc

Revision as of 00:52, 15 January 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の関連した項目が参考になるかもしれません。