MARIE Simulator answers only. Basically i have to create asubroutine TrimString which will remove any space characters beforeand after a String. For example, where _ represents a blank,__MARIE__ becomes MARIE after trimming it.
The String has to be trimmed in 2 phases,
The first phase removes any trailing space (i.e., spaces at theend
of the string).
Your code should follow these steps to achieve the result:
1. Iterate through the string, one character at a time, until youreach the end of the
string (the 0 character). This is similar to how the PrintStringsubroutine works,
just without actually printing the characters.
2. In step 1, you found the address
PayPal Gateway not configured
PayPal Gateway not configured