JillJillBean 0 Posted July 24, 2013 Share Posted July 24, 2013 Hello All, Quick question here.. wondering if anyone knows of a good library for java like commands in regards to strings. it would be very helpful to me to use commands like .length and other string related commands. I'm really hoping someone knows one off the top of their head. Thanks in advance, Jbean :grin: :thumbup: Quote Link to post Share on other sites
roadrunner84 466 Posted July 25, 2013 Share Posted July 25, 2013 You can't use Java objects. There are two languages that you can use to do the stuff you want to do: C C++ When using C, you need to write things like #include <string.h> char bla[20] = "hello world"; int length = strlen(bla); If you want to use C++, you can alternatively use the string objects #include <string> using namespace std; string bla = "hello world"; int length = bla.length(); Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.