SFML community forums

Help => General => Topic started by: dkaip on March 11, 2010, 10:51:47 am

Title: How i can take a substring?
Post by: dkaip 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?
Title: How i can take a substring?
Post by: model76 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.
Title: How i can take a substring?
Post by: Tank 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.