Menu

[b84aab]: / samples / distro-examples / examples / String_functions.bas  Maximize  Restore  History

Download this file

14 lines (12 with data), 260 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
s="1234567"
? replace$(s, 2, "bcdefg")
? replace$(s, 2, "b", 2)
? replace$(s, 2, "b", 5)
? replace$(s, 2, "", len(s))
? replace$(s, 2, "bc", 0)
? replace$(s, 2, "bcI", 2)
?
? leftof$(s, "23")
? rightof$(s, "23")
? leftoflast$(s, "23")
? rightoflast$(s, "23")
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.