Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
How i can take a substring?
Print
Pages: [
1
]
Author
Topic: How i can take a substring? (Read 1712 times)
0 Members and 2 Guests are viewing this topic.
dkaip
Newbie
Posts: 32
How i can take a substring?
«
on:
March 11, 2010, 10:51:47 am »
Hello.
I am looking for new_text=text.substr(from, number of chars ...)
Is there a such function?
Logged
model76
Full Member
Posts: 231
How i can take a substring?
«
Reply #1 on:
March 11, 2010, 11:41:35 am »
In SFML 1 there are no string operations. You should use std::string for that. I am not sure if SFML 2 will have it, though.
Logged
Tank
SFML Team
Hero Member
Posts: 1486
How i can take a substring?
«
Reply #2 on:
March 13, 2010, 02:06:18 pm »
SFML2 hasn't got such a function, yet. However, you can write a little workaround if you need it.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
How i can take a substring?
anything