undefined Posted October 6, 2014 Share Posted October 6, 2014 Hi guys. I need help. accName = "userdata: 02000085" if string.find(accName,"userdata: ", 1) then -- How i can remove "userdata: " on accName? end How i can make this? Thanks Link to comment
Anubhav Posted October 6, 2014 Share Posted October 6, 2014 accName = "userdata: 02000085" if string.find(accName,"userdata: ", 1) then -- How i can remove "userdata: " on accName? string.gsub(accName, "userdata: ", "") end Link to comment
undefined Posted October 6, 2014 Author Share Posted October 6, 2014 Thank you Anubhav. It's solved! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now