Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
String numericString = '123456';
|
||||
String partlyNumericString = '123DMS';
|
||||
String decimalString = '123.456';
|
||||
|
||||
System.debug(numericString.isNumeric()); // this will be true
|
||||
System.debug(partlyNumericString.isNumeric()); // this will be false
|
||||
System.debug(decimalString.isNumeric()); // this will be false
|
||||
System.debug(decimalString.remove('.').isNumeric()); // this will be true
|
||||
Loading…
Add table
Add a link
Reference in a new issue