Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bah whats the command
#1
ive looked through the fbwiki and a couple of forums and I can't figure out what the command to do this is.

say I have "this is a string" in a string, and I want to find "str" within that, this function would return 11. Is this a command, or am I refering to a function someone wrote?
[Image: freebasic.png]
Reply
#2
instr
Reply
#3
INSTR FTW! I love it.
Reply
#4
thanks...I think that the string entry ought to link to that, no?
[Image: freebasic.png]
Reply
#5
http://www.freebasic.net/wiki/wikka.php?...FunctIndex
Scroll down to "string functions". It's a list of, what else? String functions!
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply
#6
thx...I had forgotten about that index.
[Image: freebasic.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)