Wolfram: String Insert
Insert into String, by Index
StringInsert[ str, newStr, index ]
-
insert at index. If negative, count from right.
StringInsert[ "love cat", "I ", 1 ] (* I love cat *)
StringInsert[ str, newStr, indexList ]
-
insert at multiple indexes.
StringInsert[ strList, newStr, index ]
-
insert to multiple strings.
WolframLang String
- Wolfram: String
- Wolfram: String Functions
- Wolfram: Get SubString, by Index
- Wolfram: Get SubString, by Pattern
- Wolfram: Delete SubString
- Wolfram: String Split
- Wolfram: String Join
- Wolfram: String Insert
- Wolfram: Convert String
- Wolfram: String Template (format)
- Wolfram: String Match
- Wolfram: String Replace
- Wolfram: Regular Expression
- Wolfram: String Expression
- Wolfram: StringExpression Pattern Syntax
- Wolfram: RegularExpression vs StringExpression