This method extracts a partial wide string and returns it.
| Parameter | Description |
|---|---|
| pos | zero-based position in the string to start |
| length | maximum number of characters to return |
Returns a string extracted from the specified position and length.
#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char* argv[])
{
WString s = "Hello, how are you today?";
Print(s.Mid(7,3));
return 0;
}