Skip to content

Commit

Permalink
✨ [feat]: give code instead coffee (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
krittin1 authored Oct 31, 2022
1 parent 6c2add5 commit 8ed37cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Apex/krittin1.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
String coffee = 'Coffee';
String target = 'ffe';
String replacement = 'd';
String code = coffee.replace(target, replacement);
System.assertEquals('Code', code);

0 comments on commit 8ed37cf

Please sign in to comment.