AnsweredAssumed Answered

Is space in result causing 0?

Question asked by Kirk_1 on Apr 23, 2018
Latest reply on Apr 23, 2018 by erolst

This is my let statement:

 

Let ( [

~val = GetValue ( $postResult ; $VC ) ;

$val = Substitute ( ~val ;

                                  [ "\"" ; "" ] ;

                                  [ ":" ; "¶" ] ;

                                  [ "-" ; "¶" ] 

) ;

~result = GetValue ( $val ;1 ) = $searchTerm

] ;

~result

)

 

 

GetValue ($postResult; $VC)  is "DisplayName": "A Phase II - Actual Company", (with a space)

 

GetValue ($Val;1) is                 DisplayName (with a space)

 

$searchTerm is        DisplayName (with OUT a space)

 

 

The result I get is 0.

 

Is it because of the space???

 

If it is how can i fix it? I need the spaces in the name...

Outcomes