Mathematica 9 is now available

Documentation / Mathematica / 組込み関数 / プログラミング / 文字列操作 /

StringInsert

FilledSmallSquare StringInsert["string", "snew", n]は,"string"の位置nから開始して"snew"を挿入した文字列を作成する.

FilledSmallSquare StringInsert["string", "snew", -n]は,"string"の末尾からの位置nに挿入する.

FilledSmallSquare StringInsert["string", "snew", , , ... ]は,各 の位置に"snew"を挿入する.

FilledSmallSquare 例:StringInsert["abcdefg", "XYZ", 2] LongRightArrow

FilledSmallSquare StringInsert["string", "snew", n]は,snewの先頭の文字を新しい列の第n番目の文字とする.

FilledSmallSquare StringInsert["string", "snew", -n]は,snewの末尾の文字を新しい列の末尾から第n番目の文字とする.

FilledSmallSquare StringInsert["string", "snew", , , ... ]は挿入前に "string"位置を指すために取られる.

FilledSmallSquare 参照セクション:2.8.2.

FilledSmallSquare 次も参照:StringReplacePartInsertStringPosition

FilledSmallSquare バージョン2の新関数.バージョン3で大幅改訂

他の例



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.