Answer:
The simplest way is to add prototype to string object and use regular expression inside prototype function as following:
String.prototype.g ...
Published Questions » Technical Questions
How to generate random linked list?
Posted by CMaster
Considering following definition of linked list data structure
class Node
{
public string Data = string.Empty;
...
Find substring in a string
Posted by CodeGuru
Task was to write a function to find substring in a given string.
Answer:
One possible O(n) solution
static int Substring(string haystack, str ...
How to fast multiply a number by 7?
Posted by CMaster
Answer
Multiply by 8 via shift and substract the number:
int multiply(int num)
{
return (num << 3) - num;
}
...
Executive leaders - They are the person who take the leadership of Six sigma, CEO, owner , promoter of Six Sigma throughout organi ...
Breaking down project among team members depends on the organization structure.
The basic roles are as follows
QA manager - Manages the Testing activ ...
Understand the capability of the tool
Discuss with existing users of the tool
Check for compatibility with existing software, hardware and system
...
What is XAML ?
Posted by CMaster
Extensible Application Markup Language (XAML, pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize ...
