---------------
- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
NSURL *url = [request URL];
if( ([[url scheme] isEqualToString:@"http"] || [[url scheme] isEqualToString:@"https"]))
{
NSLog([url host],"");
if([[url host] isEqualToString:@"YOURSERVERNAME.tryoutsystems.com"]){
NSLog([url host],"");
return YES;
} else {
[[UIApplication sharedApplication] openURL:url];
return NO;
}
}
else
{
return [ super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType ];
}
}
---------------
Substr(GetEmployeeById.List.Current.User.Name,0,Index(GetEmployeeById.List.Current.User.Name," "))
---------------
Substr(GetEmployeeById.List.Current.User.Name,Index(GetEmployeeById.List.Current.User.Name," ", 0, True), 100)