New BP Node ~ Is Alpha Numeric
Dear Community,
BP node lets you find out if a string contains only letters and numbers!
is very useful when allowing users to pick login names and passwords!
**C++ Code For You**
My solution relies entirely on a core C++ function called isalnum.
So I am not making up my own solution, I am enabling you to call core C++ function via a BP node, doing the necessary conversion to go from UE4 FString to c++ std::string / UTF8 char string
```
#include <string>
bool UVictoryBPLibrary::IsAlphaNumeric(const FString& String)
{
std::string str = (TCHAR_TO_UTF8(*String));
for ( std::string::iterator it=str.begin(); it!=str.end(); ++it)
{
if(!isalnum(*it))
{
return false;
}
}
return true;
}
```
**New Download (50.21mb, Media Fire)**
https://www.mediafire.com/?ieovbd5l9d7yub2
Please note my downloads also include these packaged binaries:
1. Win64 Development
2. Win64 Shipping **<~~~~~~ NEW!**
3. Win32 Development
4. Win32 Shipping
4. HTML5 Development
Please see my instructions for [Packaging UE4 Plugins With Your Game](https://forums.unrealengine.com/showthread.php?3851-(39)--s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required!&p=476476&viewfull=1#post476476).
**Donations can be sent to me via:**
http://lightningfitness.org/donate/
♥