Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
benaloney
benaloney's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Noob question: Inserting small string into larger string
[2 Replies]
02-May-2012 07:15 PM
Forum:
Programming Questions
Hi,
I was wondering how you insert a small string into a larger one by replacing the elements in the string to maintain the length.
for example: "aaaaaaaa" insert "bbb" to element 3 to 6 = "aabbbaaa"
I know this is possible using split() and join(), just wondering if there's an easier way.
would appreciate any help :)
«Prev
Next »
Moderate user : benaloney
Forum