Arthur~Chiu Posted April 11, 2014 Share Posted April 11, 2014 hdk how to remove string numeric with easy way such as “att5” to “att_” Quote Link to comment Share on other sites More sharing options...
edward Posted April 24, 2014 Share Posted April 24, 2014 Untested: #include <boost/algorithm/string/trim_all.hpp> ... void remove_digits(UT_String& str) { boost::trim_all_if(&str(0), boost::is_digit()); } Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.