MID strings

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Olli
Addict
Addict
Posts: 1071
Joined: Wed May 27, 2020 12:26 pm

Re: MID strings

Post by Olli »

Slow but adapted to several character types :

Code: Select all

Procedure.S PutMid(S.S, I.I, New.S)
 ProcedureReturn Left(S, I - 1) + New + Mid(S, I + Len(New) )
EndProcedure
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: MID strings

Post by Josh »

Is today the day of Zombi postings or do you want to increase the number of posts for your new account?

Other Zombi post see here:
viewtopic.php?p=206345#p206345
sorry for my bad english
Post Reply