[bb] Get what's on the other side of the equal sign even faster. by Chroma [ 1+ years ago ]

Started by BlitzBot, June 29, 2017, 00:28:41

Previous topic - Next topic

BlitzBot

Title : Get what's on the other side of the equal sign even faster.
Author : Chroma
Posted : 1+ years ago

Description : Cleaning up some old old code to be more compact.

The sep$="=" is the separator.  It defaults to "=" but you can set this to whatever charater you want to separate your information.


Code :
Code (blitzbasic) Select
Function ReadInfo$(txt$,sep$="=")
Return Mid$(txt$,Instr(txt$,sep$)+1)
End Function


Comments : none...