Open main menu
Home
Random
Log in
Settings
About ZCubes Wiki
Disclaimers
ZCubes Wiki
Search
Changes
← Older edit
Newer edit →
Z3/Z3Clarifications
(view source)
Revision as of 12:26, 25 August 2016
180 bytes removed
,
12:26, 25 August 2016
→Z3 Clarifications
Line 6:
Line 6:
List clarifications required on Z3
List clarifications required on Z3
−
#
How do we get a subset of a string value without using loop
+
How do we get a subset of a string value without using loop
Ans:
Ans:
Line 13:
Line 13:
vowels ="AEIOU";
vowels ="AEIOU";
vowelsarray=vowels.split("");
vowelsarray=vowels.split("");
−
----------------------------------------------------------------------------------------
wordletterswithoutvowels=word.split("").filter((x)=>!x.isin(vowelsarray));
wordletterswithoutvowels=word.split("").filter((x)=>!x.isin(vowelsarray));
OR
OR
Line 23:
Line 22:
Result => CRPRTN
Result => CRPRTN
−
-----------------------------------------------------------------------------------------
Abin
writer
5,435
edits