Hello,<br><br>Is there an easy way to test if a String value is empty? I've been doing this (Drools 4.0.7):<br><span style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;"> when</span><span style="font-family: courier new,monospace;"> CitationDTO</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ( </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> charge != null && </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> charge.drivingIncidentLegalSpeedRate != null && </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> charge.drivingIncidentLegalSpeedRate != ""</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> then ......<br></span><span style="font-family: courier new,monospace;"></span><br>
It seems like there has to be a better method.<br><br>Thanks,<br>Jason<br>