题如下:7500×(1+4.5%)³º=?和7500×(1+4.5%)²º=? 分别是多少?
2个回答
2016-12-23
展开全部
Splitsthisstringaroundmatchesofthegivenregularexpression.Thearrayreturnedbythismethodcontainseachsubstringofthisstringthatisterminatedbyanothersubstringthatmatchesthegivenexpressionoristerminatedbytheendofthestring.Thesubstringsinthearrayareintheorderinwhichtheyoccurinthisstring.Iftheexpressiondoesnotmatchanypartoftheinputthentheresultingarrayhasjustoneelement,namelythisstring.Thelimitparametercontrolsthenumberoftimesthepatternisappliedandthereforeaffectsthelengthoftheresultingarray.Ifthelimitnisgreaterthanzerothenthepatternwillbeappliedatmostn-1times,thearray'slengthwillbenogreaterthann,andthearray'slastentrywillcontainallinputbeyondthelastmatcheddelimiter.Ifnisnon-positivethenthepatternwillbeappliedasmanytimesaspossibleandthearraycanhaveanylength.Ifniszerothenthepatternwillbeappliedasmanytimesaspossible,thearraycanhaveanylength,andtrailingemptystringswillbediscarded.Thestring"boo:and:foo",forexample,yieldsthefollowingresultswiththeseparameters:RegexLimitResult:2{"boo","and:foo"}:5{"boo","and","foo"}:-2{"boo","and","foo"}o5{"b","",":and:f","",""}o-2{"b","",":and:f","",""}o0{"b","",":and:f"}Aninvocationofthismethodoftheformstr.split(regex,n)yieldsthesameresultastheexpressionjava.util.regex.Pattern.compile(regex).split(str,n)Parameters:regexthedelimitingregularexpressionlimittheresultthreshold,asdescribedaboveReturns:thearrayofstringscomputedbysplittingthisstringaroundmatchesofthegivenregularexpressionThrows:PatternSyntaxException-iftheregularexpression'ssyntaxisinvalidSince:1.4SeeAlso:java.util.regex.Pattern@specJSR-51以上是jdk的注解,参数-1表示split次数没有限制,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询